projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5336cc9
)
dashdemux: fix memory leak
author
Luis de Bethencourt
<luisbg@osg.samsung.com>
Mon, 2 Nov 2015 11:21:14 +0000
(11:21 +0000)
committer
Luis de Bethencourt
<luisbg@osg.samsung.com>
Mon, 2 Nov 2015 11:27:43 +0000
(11:27 +0000)
Free new_mpd, allocated with g_slice_new(), before going out of scope in
goto error.
CID
1338050
ext/dash/gstmpdparser.c
patch
|
blob
|
history
diff --git
a/ext/dash/gstmpdparser.c
b/ext/dash/gstmpdparser.c
index 27846f0961596c1692a32f0daf2b61ffa0b0e976..1359a1e3cf693a943edf82d2ff7af2eead321018 100644
(file)
--- a/
ext/dash/gstmpdparser.c
+++ b/
ext/dash/gstmpdparser.c
@@
-2173,6
+2173,7
@@
gst_mpdparser_parse_root_node (GstMPDNode ** pointer, xmlNode * a_node)
return TRUE;
error:
+ gst_mpdparser_free_mpd_node (new_mpd);
return FALSE;
}