summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2004-05-04 14:39:29 +0000
committerWim Taymans <wim.taymans@gmail.com>2004-05-04 14:39:29 +0000
commit46638d8110c2f06cdb1105f81581f8bc24ba9d04 (patch)
tree89643b81b87fdc7e7238f7ed7ccd8a00a7867fd5
parentd9cf9b203371e59bf3995135ca325f0286d6131c (diff)
downloadgst-plugins-bad-46638d8110c2f06cdb1105f81581f8bc24ba9d04.tar.gz
gst-plugins-bad-46638d8110c2f06cdb1105f81581f8bc24ba9d04.tar.bz2
gst-plugins-bad-46638d8110c2f06cdb1105f81581f8bc24ba9d04.zip
ext/mpeg2enc/gstmpeg2enc.cc: call the parent dispose function to avoid segfault on destroy.
Original commit message from CVS: * ext/mpeg2enc/gstmpeg2enc.cc: (gst_mpeg2enc_dispose): call the parent dispose function to avoid segfault on destroy.
-rw-r--r--ChangeLog5
-rw-r--r--ext/mpeg2enc/gstmpeg2enc.cc2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e5826637..eb1259ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-04 Wim Taymans <wim@fluendo.com>
+
+ * ext/mpeg2enc/gstmpeg2enc.cc: (gst_mpeg2enc_dispose): call the
+ parent dispose function to avoid segfault on destroy.
+
2004-05-04 Thomas Vander Stichele <thomas at apestaart dot org>
* sys/ximage/ximagesink.c: (gst_ximagesink_sink_link),
diff --git a/ext/mpeg2enc/gstmpeg2enc.cc b/ext/mpeg2enc/gstmpeg2enc.cc
index ee64d420..f3bc8229 100644
--- a/ext/mpeg2enc/gstmpeg2enc.cc
+++ b/ext/mpeg2enc/gstmpeg2enc.cc
@@ -188,6 +188,8 @@ gst_mpeg2enc_dispose (GObject * object)
enc->encoder = NULL;
}
delete enc->options;
+
+ G_OBJECT_CLASS (parent_class)->dispose (object);
}
static void