We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 171e74c commit f04346bCopy full SHA for f04346b
Core/Libraries/Source/WWVegas/WWLib/refcount.h
@@ -60,7 +60,7 @@ struct ActiveRefStruct
60
** point it at the new object, and add-ref the new object (if its not null...)
61
*/
62
#define REF_PTR_SET(dst,src) { if (src) (src)->Add_Ref(); if (dst) (dst)->Release_Ref(); (dst) = (src); }
63
-#define REF_PTR_RELEASE(x) { if (x) x->Release_Ref(); x = NULL; }
+#define REF_PTR_RELEASE(x) { if (x) x->Release_Ref(); x = 0; }
64
65
66
/*
0 commit comments