7ccc4d7c1c
Most of the bits from Brad, a minor runtime fix by me. Tested on amd64, i386, macppc OK dhill@, rpointel@, sthen@, jasper@
14 lines
565 B
Plaintext
14 lines
565 B
Plaintext
$OpenBSD: patch-src_extras_tdestroy_c,v 1.1 2011/11/16 13:33:16 phessler Exp $
|
|
--- src/extras/tdestroy.c.orig Tue Apr 13 02:22:28 2010
|
|
+++ src/extras/tdestroy.c Sat Nov 12 21:06:10 2011
|
|
@@ -102,8 +102,7 @@ void vlc_tdestroy (void *root, void (*freenode) (void
|
|
for (size_t i = 0; i < count; i++)
|
|
{
|
|
smallest.node = tab[i];
|
|
- if (tdelete (smallest.node, &root, cmp_smallest) == NULL)
|
|
- abort ();
|
|
+ tdelete (smallest.node, &root, cmp_smallest);
|
|
}
|
|
vlc_mutex_unlock (&smallest.lock);
|
|
assert (root == NULL);
|