- add g_free (type) for memory leak
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I6a300efef88d5bf50fa0859a6cba39643d5a028f
Name: libmm-streamrecorder
Summary: Media Stream Recorder library
-Version: 0.0.18
+Version: 0.0.19
Release: 0
Group: Multimedia/Other
License: Apache-2.0
MMSTREAMRECORDER_G_OBJECT_SET(sc->encode_element[_MMSTREAMRECORDER_ENCSINK_ENCBIN].gst, "acaps", caps);
{
gchar *type = gst_caps_to_string(caps);
-
_mmstreamrec_dbg_warn("Set srcpad caps: %s", type);
+ g_free(type);
}
gst_caps_unref(caps);
caps = NULL;
MMSTREAMRECORDER_G_OBJECT_SET((sc->encode_element[_MMSTREAMRECORDER_AUDIOSRC_FILT].gst), "caps", caps);
{
gchar *type = gst_caps_to_string(caps);
-
_mmstreamrec_dbg_err("_MMSTREAMRECORDER_AUDIOSRC_FILT %s", type);
-
+ g_free(type);
}
gst_caps_unref(caps);
caps = NULL;