commit | d9ae5e9128f13fb43d33adf732c313516c70f9c6 | [log] [tgz] |
---|---|---|
author | Erik de Castro Lopo <erikd@mega-nerd.com> | Sat Aug 22 19:22:50 2015 +1000 |
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | Sat Aug 22 19:39:37 2015 +1000 |
tree | 26a45432c984de73f845b4a23848c65d3e81b18f | |
parent | 684fb3d544b6fec54464e2f09296eb8d7705382a [diff] |
libFLAC: Add function safe_realloc_() The new function wraps, realloc() and if the realloc() fails, it free()s the old pointer. This is an improvement on the potential realloc() memory leak that was fixed in 15a9062609. Still needs fuzzing to validate it.