projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acb66eb
)
fieldanalysis: fix double free() crashes
author
René Stadler
<mail@renestadler.de>
Wed, 9 Mar 2011 11:19:50 +0000
(13:19 +0200)
committer
René Stadler
<mail@renestadler.de>
Wed, 9 Mar 2011 11:19:50 +0000
(13:19 +0200)
gst/fieldanalysis/gstfieldanalysis.c
patch
|
blob
|
history
diff --git
a/gst/fieldanalysis/gstfieldanalysis.c
b/gst/fieldanalysis/gstfieldanalysis.c
index 5f093320f18e7ec98b7237a8de9c7f5f6e23bd6a..2d1f393c8120eebe9e157ef69730c86c0ac10ff9 100644
(file)
--- 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