summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--omx/gstomx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c
index 6044668..7766eab 100644
--- a/omx/gstomx.c
+++ b/omx/gstomx.c
@@ -687,6 +687,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;
}