gl: fix leak in gst_gl_insert_debug_marker()
The string allocated by g_vasprintf() was leaked. Reproduced using the validate.file.compositor.simple.play_15s.synchronized validate scenario. https://bugzilla.gnome.org/show_bug.cgi?id=756492
This commit is contained in:
parent
a6d89901fe
commit
5b30a8e9b2
@ -211,5 +211,7 @@ gst_gl_insert_debug_marker (GstGLContext * context, const gchar * format, ...)
|
||||
gl->InsertEventMarker (len, string);
|
||||
else if (gl->StringMarker)
|
||||
gl->StringMarker (len, string);
|
||||
|
||||
g_free (string);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user