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

Erik de Castro Lopo mle+la at mega-nerd.com
Mon Jul 6 13:19:55 PDT 2015


lvqcl wrote:

> 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.

Applied. Thanks.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list