vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sat Nov 27 20:00:45 2010 +0200| [2a7de277df8c501d403a03353974d3298224223f] | committer: Rémi Denis-Courmont
Win32: don't destroy variables without destroy callbacks > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2a7de277df8c501d403a03353974d3298224223f --- src/win32/thread.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/win32/thread.c b/src/win32/thread.c index a845585..63e181d 100644 --- a/src/win32/thread.c +++ b/src/win32/thread.c @@ -526,7 +526,7 @@ retry: for (key = vlc_threadvar_last; key != NULL; key = key->prev) { void *value = vlc_threadvar_get (key); - if (value != NULL) + if (value != NULL && key->destroy != NULL) { vlc_mutex_unlock (&super_mutex); vlc_threadvar_set (key, NULL); _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
