Fix crash in ARC assignment.

Reported by Banlu Name-of-the-week!
main
theraven 13 years ago
parent c6614a218c
commit 95aef24803

@ -520,7 +520,7 @@ id objc_storeWeak(id *addr, id obj)
break;
}
}
oldRef = oldRef->next;
oldRef = (oldRef == NULL) ? NULL : oldRef->next;
}
}
if (nil == obj)

Loading…
Cancel
Save