Add a miniobj macro for taking over pointer
There's a recurring pattern throughout the code base of taking over a reference (by nulling the original) essentially when resources are freed. Instead of repeating this anti dangling pointers measure, it can be wrapped in a documenting utility macro.
Showing
Please register or sign in to comment