fieldanalysis: fix double free() crashes

This commit is contained in:
René Stadler 2011-03-09 13:19:50 +02:00
parent acb66eb7f4
commit 64db3d805f

View file

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