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

lvqcl lvqcl.mail at gmail.com
Mon Jul 6 04:27:52 PDT 2015


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
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20150706/0b5c9df7/attachment.obj 


More information about the flac-dev mailing list