[flac-dev] [PATCH] assign NULL after free

lvqcl
Mon, 06 Jul 2015 11:27:52 -0000

Function FLAC__metadata_object_delete_data() in libFLAC/metadata_object.c:

it frees a pointer, then assigns 0 to it. But it doesn't do it for
data.vorbis_comment.comments and object->data.cue_sheet.tracks.
The patch adds assignment to zero for them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: free_and_null.patch
Type: application/octet-stream
Size: 1000 bytes
Desc: not available