From 6b143781073cf395fd6211c75bbdc9f5b5a54936 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 2 Jan 2013 01:54:38 -0600 Subject: [PATCH] Fixup fcobjs.c Ouch! --- src/fcobjs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fcobjs.c b/src/fcobjs.c index aaabb62..9336068 100644 --- a/src/fcobjs.c +++ b/src/fcobjs.c @@ -56,7 +56,7 @@ retry: ot->object.object = strdup (str); ot->object.type = -1; ot->id = fc_atomic_int_add (next_id, +1); - ot->next = ot; + ot->next = ots; if (!fc_atomic_ptr_cmpexch (&other_types, ots, ot)) { free (ot);