I have a preprocessor define:
#include "stdio.h"
#define FREE(ptr) free(ptr)
And I want to know if it is safe to change it to:
#include "stdio.h"
#define FREE(ptr) free(ptr); \
(ptr) = null;
for code safe.
I think that because free is returning void so it can't be chained as shown at that question so it will be safe, but I'm not sure.