mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
convertframe: Fix trivial memory leak in debug statement
gst_element_get_name() requires the caller to g_free() the return value https://bugzilla.gnome.org/show_bug.cgi?id=719850
This commit is contained in:
parent
387e5f0c14
commit
4a81e22607
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ get_encoder (const GstCaps * caps, GError ** err)
|
|||
encoder = gst_element_factory_create (factory, NULL);
|
||||
|
||||
GST_INFO ("created encoder element %p, %s", encoder,
|
||||
gst_element_get_name (encoder));
|
||||
GST_ELEMENT_NAME(encoder));
|
||||
|
||||
fail:
|
||||
if (encoders)
|
||||
|
|
Loading…
Reference in a new issue