diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2006-03-20 17:38:48 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2006-03-20 17:38:48 +0000 |
commit | 1af582d518d5f2f4add7ee60b04e4d63a8227546 (patch) | |
tree | d1a09e91e63578ae0b5ec7401985238e2e3adc28 /gst/goom/filters.c | |
parent | d1619b70547cf844d4d9973b7dce68c72a19b652 (diff) |
gst/goom/: Free filter data when cleaning up. (Fixes: #334995)
Original commit message from CVS:
* gst/goom/filters.c: (zoomFilterDestroy):
* gst/goom/goom_core.c: (goom_close):
Free filter data when cleaning up. (Fixes: #334995)
Diffstat (limited to 'gst/goom/filters.c')
-rw-r--r-- | gst/goom/filters.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gst/goom/filters.c b/gst/goom/filters.c index ee598100..e3153aa5 100644 --- a/gst/goom/filters.c +++ b/gst/goom/filters.c @@ -413,8 +413,13 @@ zoomFilterSetResolution (GoomData * gd, ZoomFilterData * zf) void zoomFilterDestroy (ZoomFilterData * zf) { - if (zf) + if (zf) { + if (zf->firedec) + free (zf->firedec); + if (zf->buffer) + free (zf->buffer); free (zf); + } } /*===============================================================*/ |