mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
info: Don't leak log function user_data if the debug system is compiled out
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/742>
This commit is contained in:
parent
ec83432140
commit
d7b0b6b6db
1 changed files with 2 additions and 0 deletions
|
@ -2338,6 +2338,8 @@ void
|
|||
gst_debug_add_log_function (GstLogFunction func, gpointer user_data,
|
||||
GDestroyNotify notify)
|
||||
{
|
||||
if (notify)
|
||||
notify (user_data);
|
||||
}
|
||||
|
||||
guint
|
||||
|
|
Loading…
Reference in a new issue