From 6a4f370211edcea688ad62075de888ffe6e9fa29 Mon Sep 17 00:00:00 2001 From: Steve Lhomme <robux4@ycbcr.xyz> Date: Mon, 15 Apr 2019 08:47:27 +0200 Subject: [PATCH] Revert "libvlc: add leak debugging code" This reverts commit 496001e6a204ce25a611163ed95e4b6721657bfe. The objects don't leak anymore. --- src/libvlc.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/libvlc.c b/src/libvlc.c index 483ad17e79c3..3c18c12da661 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -463,16 +463,6 @@ void libvlc_InternalDestroy( libvlc_int_t *p_libvlc ) vlc_ExitDestroy( &priv->exit ); -#if 0 - { - vlc_object_internals_t *internal = vlc_internals(p_libvlc); - if (atomic_load(&internal->refs) != 1) - { - fprintf(stderr, "=== vlc_object LEAKS detected ===\n"); - DumpStructureLocked(VLC_OBJECT(p_libvlc), stderr, 0); - } - } -#endif vlc_mutex_destroy(&priv->lock); vlc_object_delete(p_libvlc); } -- GitLab