Fixup fcobjs.c

Ouch!
This commit is contained in:
Behdad Esfahbod 2013-01-02 01:54:38 -06:00
parent 6047ce7b9f
commit 6b14378107
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ retry:
ot->object.object = strdup (str); ot->object.object = strdup (str);
ot->object.type = -1; ot->object.type = -1;
ot->id = fc_atomic_int_add (next_id, +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)) { if (!fc_atomic_ptr_cmpexch (&other_types, ots, ot)) {
free (ot); free (ot);