X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Flibvlc-common.c;h=e667d249ecb4b33c2a175ba762b300185aa36f66;hb=c9c5170b8ad691bbf06111e08f9f911e68484fa8;hp=8466c8f6ee1155b1708c8418dba6cbbc3ee383d2;hpb=5fb9f95ef61bf58671090a0a3772f0cd9f420dc5;p=vlc diff --git a/src/libvlc-common.c b/src/libvlc-common.c index 8466c8f6ee..e667d249ec 100644 --- a/src/libvlc-common.c +++ b/src/libvlc-common.c @@ -75,8 +75,6 @@ # include #endif -#include "vlc_os_specific.h" - #include #include @@ -1034,7 +1032,7 @@ int libvlc_InternalDestroy( libvlc_int_t *p_libvlc, vlc_bool_t b_release ) vlc_mutex_destroy( &p_libvlc->timer_lock ); if( b_release ) vlc_object_release( p_libvlc ); - vlc_object_destroy( p_libvlc ); + vlc_object_release( p_libvlc ); p_libvlc = NULL; /* Stop thread system: last one out please shut the door!