]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/atmo/AtmoThread.cpp
misc/objects.c: Don't rely on vlc_object_destroy() to destroy objects, but expects...
[vlc] / modules / video_filter / atmo / AtmoThread.cpp
index 706b4ce5c0c2e3efb70d98a0d31e762098dff836..d9856e707a8179a675f43d0d7851af4f6435bd81 100644 (file)
@@ -51,7 +51,7 @@ CThread::~CThread(void)
       vlc_mutex_destroy( &m_TerminateLock );
       vlc_cond_destroy( &m_TerminateCond );
       vlc_object_detach(m_pAtmoThread);
-      vlc_object_destroy(m_pAtmoThread);
+      vlc_object_release(m_pAtmoThread);
   }
 }