projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2726747
)
smoothstreaming: change g_free() location.
65/115065/1
author
Hyunil
<hyunil46.park@samsung.com>
Thu, 16 Feb 2017 07:41:03 +0000
(16:41 +0900)
committer
Hyunil
<hyunil46.park@samsung.com>
Thu, 16 Feb 2017 07:41:03 +0000
(16:41 +0900)
If tmpl is NULL name is not free.
Change-Id: I980acd81d2e5ea31f079df0101aafd6ce38d78bb
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
ext/smoothstreaming/gstmssdemux.c
patch
|
blob
|
history
diff --git
a/ext/smoothstreaming/gstmssdemux.c
b/ext/smoothstreaming/gstmssdemux.c
index
196ce41
..
aa13d73
100644
(file)
--- a/
ext/smoothstreaming/gstmssdemux.c
+++ b/
ext/smoothstreaming/gstmssdemux.c
@@
-356,9
+356,10
@@
_create_pad (GstMssDemux * mssdemux, GstMssStream * manifeststream)
if (tmpl != NULL) {
srcpad =
GST_PAD_CAST (gst_ghost_pad_new_no_target_from_template (name, tmpl));
- g_free (name);
gst_object_unref (tmpl);
}
+ g_free (name);
+
if (!srcpad) {
GST_WARNING_OBJECT (mssdemux, "Ignoring unknown type stream");
return NULL;