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:
309c651
)
aspectratiocrop: Don't forget to call parent finalize implementation.
author
Edward Hervey
<bilboed@bilboed.com>
Tue, 10 Feb 2009 10:27:51 +0000
(11:27 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Tue, 10 Feb 2009 10:27:51 +0000
(11:27 +0100)
This fixes a memory leak (leaking the contained elements of the bin).
gst/videocrop/gstaspectratiocrop.c
patch
|
blob
|
history
diff --git
a/gst/videocrop/gstaspectratiocrop.c
b/gst/videocrop/gstaspectratiocrop.c
index
6d0ee44
..
7b91139
100644
(file)
--- a/
gst/videocrop/gstaspectratiocrop.c
+++ b/
gst/videocrop/gstaspectratiocrop.c
@@
-204,6
+204,8
@@
gst_aspect_ratio_crop_finalize (GObject * object)
if (aspect_ratio_crop->crop_lock)
g_mutex_free (aspect_ratio_crop->crop_lock);
+
+ G_OBJECT_CLASS (parent_class)->finalize (object);
}
static void