gst/librfb/gstrfbsrc.c: Free the rfb decoder on finalize. Fixes bug #515721.

Original commit message from CVS:
* gst/librfb/gstrfbsrc.c: (gst_rfb_src_dispose):
Free the rfb decoder on finalize. Fixes bug #515721.
This commit is contained in:
Sebastian Dröge 2008-02-12 05:19:05 +00:00
parent fc50684825
commit bc3246f146
3 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
* gst/librfb/gstrfbsrc.c: (gst_rfb_src_dispose):
Free the rfb decoder on finalize. Fixes bug #515721.
2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
* sys/fbdev/gstfbdevsink.c: (gst_fbdevsink_class_init),

2
common

@ -1 +1 @@
Subproject commit 961bb6bd997d7c8da6058534e86b4a1361c0fcea
Subproject commit 05a617c9043ddb78f8578195b18c166d7e1d4c2e

View file

@ -180,7 +180,11 @@ gst_rfb_src_dispose (GObject * object)
GstRfbSrc *src = GST_RFB_SRC (object);
g_free (src->host);
if (src->decoder) {
rfb_decoder_free (src->decoder);
g_free (src->decoder);
src->decoder = NULL;
}
G_OBJECT_CLASS (parent_class)->dispose (object);
}