Fix memory leak 32/78932/1 accepted/tizen/common/20160719.172017 accepted/tizen/ivi/20160718.104843 accepted/tizen/mobile/20160718.104917 accepted/tizen/tv/20160718.104658 accepted/tizen/wearable/20160718.104803 submit/tizen/20160718.052709
authorGilbok Lee <gilbok.lee@samsung.com>
Thu, 7 Jul 2016 10:52:31 +0000 (19:52 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Thu, 7 Jul 2016 10:52:31 +0000 (19:52 +0900)
Change-Id: Id9fc121363e45bc89c22cfd3c0f147d210522fdf
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
packaging/capi-mediademuxer.spec
src/port_gst/mediademuxer_port_gst.c

index 71d394a..3b40c83 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-mediademuxer
 Summary:    A Media Demuxer library in Tizen Native API
-Version:    0.1.2
+Version:    0.1.3
 Release:    1
 Group:      Multimedia/API
 License:    Apache-2.0
index 1401628..91fcc0e 100755 (executable)
@@ -1495,6 +1495,8 @@ int _md_gst_destroy_pipeline(GstElement *pipeline)
        int ret = MD_ERROR_NONE;
        if (pipeline)
                MEDIADEMUXER_SET_STATE(pipeline, GST_STATE_NULL, ERROR);
+       if (pipeline)
+               gst_object_unref(GST_OBJECT(pipeline));
        MEDIADEMUXER_FLEAVE();
        return ret;
 ERROR: