From ccfbe1569dbd19fecd4bcfae298cbee9c9345d29 Mon Sep 17 00:00:00 2001 From: Thijs Vermeir Date: Wed, 26 Sep 2007 16:44:42 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ gst/librfb/gstrfbsrc.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9a7e349862..2bc456d9d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-09-26 Thijs Vermeir + + * gst/librfb/gstrfbsrc.c: + fix bug from generic/states.gdb + 2007-09-26 Julien MOUTTE * gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio), diff --git a/gst/librfb/gstrfbsrc.c b/gst/librfb/gstrfbsrc.c index b207030ecf..8aeed6c658 100644 --- a/gst/librfb/gstrfbsrc.c +++ b/gst/librfb/gstrfbsrc.c @@ -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);