mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue