
31 Aug
2004
31 Aug
'04
2:12 a.m.
SPObject *oldmarker = sandbox->getObjectById("sample"); if (oldmarker) { sp_object_ref(oldmarker, NULL); oldmarker->deleteObject(false); sp_object_unref(oldmarker, NULL); }
Can't we just add those ref/unref calls to the beginning and the end of the deleteObject?