mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +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/743>
This commit is contained in:
parent
d5150b7c54
commit
f90e9a71dd
1 changed files with 2 additions and 0 deletions
|
@ -2359,6 +2359,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