mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27832 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
962f660ada
commit
afb6e09fe8
3 changed files with 4 additions and 3 deletions
|
@ -1918,10 +1918,10 @@ GSAssignZeroingWeakPointer(void **destination, void *source)
|
|||
}
|
||||
if (*destination != 0)
|
||||
{
|
||||
GC_unregister_disappearing_link((GC_PTR*)destination);
|
||||
GC_unregister_disappearing_link(destination);
|
||||
}
|
||||
*destination = source;
|
||||
GC_general_register_disappearing_link((GC_PTR*)destination, source);
|
||||
GC_general_register_disappearing_link(destination, source);
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue