mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +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,
|
gst_debug_add_log_function (GstLogFunction func, gpointer user_data,
|
||||||
GDestroyNotify notify)
|
GDestroyNotify notify)
|
||||||
{
|
{
|
||||||
|
if (notify)
|
||||||
|
notify (user_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
guint
|
guint
|
||||||
|
|
Loading…
Reference in a new issue