projects
/
platform
/
upstream
/
gst-omx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fb8bab
)
omx: Fix a missing g_free() in error path
30/23230/2
tizen_3.0.2014.q4_common
tizen_3.0.2015.q1_common
tizen_3.0.2015.q2_common
tizen_3.0_ivi
accepted/tizen/common/20141107.141938
accepted/tizen/ivi/20141112.060040
submit/tizen/20141106.013908
submit/tizen_mobile/20141120.000000
tizen_3.0_ivi_release
author
Kazunori Kobayashi
<kkobayas@igel.co.jp>
Thu, 27 Jun 2013 12:59:29 +0000
(21:59 +0900)
committer
YAN YIN
<yan.yin@intel.com>
Thu, 6 Nov 2014 01:35:18 +0000
(17:35 -0800)
This fixes a memory leak with g_strdup() when an error occurs.
https://bugzilla.gnome.org/show_bug.cgi?id=731141
Change-Id: I333df2cc1197e2c04ca65f2f82889e9ce7c975d2
Signed-off-by: Kazunori Kobayashi <kkobayas@igel.co.jp>
omx/gstomx.c
patch
|
blob
|
history
diff --git
a/omx/gstomx.c
b/omx/gstomx.c
index
f542954
..
483d794
100644
(file)
--- a/
omx/gstomx.c
+++ b/
omx/gstomx.c
@@
-645,6
+645,7
@@
gst_omx_component_new (GstObject * parent, const gchar * core_name,
"Failed to get component handle '%s' from core '%s': 0x%08x",
component_name, core_name, err);
gst_omx_core_release (core);
+ g_free (comp->name);
g_slice_free (GstOMXComponent, comp);
return NULL;
}