libFLAC/md5.c: Clean up allocation
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 22 Aug 2015 21:37:53 +0000 (07:37 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 22 Aug 2015 21:37:56 +0000 (07:37 +1000)
commitd9503c8458e86631a87bd060e471d047532e83fc
tree50e8b79f121f51d555073c5d15a6378ce59b9603
parent584a1346c99270994cafc8143edcb67a183b31a4
libFLAC/md5.c: Clean up allocation

Make sure ctx->capacity gets updated correctly when safe_realloc()
fails.

Patch-from:  lvqcl <lvqcl.mail@gmail.com>
src/libFLAC/md5.c