openbsd-ports/x11/vlc/patches/patch-src_extras_tdestroy_c
phessler 7ccc4d7c1c Update to VLC 1.1.12
Most of the bits from Brad, a minor runtime fix by me.

Tested on amd64, i386, macppc

OK dhill@, rpointel@, sthen@, jasper@
2011-11-16 13:33:15 +00:00

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);