Commit f90e9a71 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵 Committed by GStreamer Marge Bot
Browse files

info: Don't leak log function user_data if the debug system is compiled out

Part-of: <gstreamer/gstreamer!743>
parent d5150b7c
......@@ -2359,6 +2359,8 @@ void
gst_debug_add_log_function (GstLogFunction func, gpointer user_data,
GDestroyNotify notify)
if (notify)
notify (user_data);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment