diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/gio/gstgiosrc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/gio/gstgiosrc.c b/ext/gio/gstgiosrc.c index 8fe1a988..6f41e449 100644 --- a/ext/gio/gstgiosrc.c +++ b/ext/gio/gstgiosrc.c @@ -211,8 +211,10 @@ gst_gio_src_start (GstBaseSrc * base_src) return FALSE; - } else if (src->stream == NULL) + } else if (src->stream == NULL) { + g_object_unref (src->file); return FALSE; + } src->position = 0; |