gst/librfb/gstrfbsrc.c: fix bug from generic/states.gdb

Original commit message from CVS:
* gst/librfb/gstrfbsrc.c:
fix bug from generic/states.gdb
This commit is contained in:
Thijs Vermeir 2007-09-26 16:44:42 +00:00
parent 188ce39697
commit ccfbe1569d
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-09-26 Thijs Vermeir <thijsvermeir@gmail.com>
* gst/librfb/gstrfbsrc.c:
fix bug from generic/states.gdb
2007-09-26 Julien MOUTTE <julien@moutte.net>
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),

View file

@ -171,6 +171,7 @@ gst_rfb_src_dispose (GObject * object)
GstRfbSrc *src = GST_RFB_SRC (object);
g_free (src->host);
rfb_decoder_free (src->decoder);
G_OBJECT_CLASS (parent_class)->dispose (object);
}
@ -343,7 +344,7 @@ gst_rfb_src_stop (GstBaseSrc * bsrc)
{
GstRfbSrc *src = GST_RFB_SRC (bsrc);
rfb_decoder_free (src->decoder);
src->decoder->fd = -1;
if (src->frame) {
g_free (src->frame);