From 64db3d805f9e8efb08b6f5b7f5a8b81fb1b8b91e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stadler?= Date: Wed, 9 Mar 2011 13:19:50 +0200 Subject: [PATCH] fieldanalysis: fix double free() crashes --- gst/fieldanalysis/gstfieldanalysis.c | 2 ++ 1 file changed, 2 insertions(+) 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