From: René Stadler Date: Wed, 9 Mar 2011 11:19:50 +0000 (+0200) Subject: fieldanalysis: fix double free() crashes X-Git-Tag: 1.19.3~507^2~16050^2~544 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=64db3d805f9e8efb08b6f5b7f5a8b81fb1b8b91e;p=platform%2Fupstream%2Fgstreamer.git fieldanalysis: fix double free() crashes --- diff --git a/gst/fieldanalysis/gstfieldanalysis.c b/gst/fieldanalysis/gstfieldanalysis.c index 5f093320f1..2d1f393c81 100644 --- a/gst/fieldanalysis/gstfieldanalysis.c +++ b/gst/fieldanalysis/gstfieldanalysis.c @@ -333,7 +333,9 @@ gst_field_analysis_reset (GstFieldAnalysis * filter) filter->first_buffer = TRUE; filter->width = 0; g_free (filter->comb_mask); + filter->comb_mask = NULL; g_free (filter->block_scores); + filter->block_scores = NULL; } static void