Skip to content
Snippets Groups Projects
Commit c87cfdcc authored by deuce's avatar deuce
Browse files

Add FREE_AND_NULL macro.

parent 6890b49f
No related branches found
No related tags found
No related merge requests found
......@@ -104,6 +104,9 @@
#define LFREE free
#define FREE free
#endif
#if !defined(FREE_AND_NULL)
#define FREE_AND_NULL(x) if(x!=NULL) { FREE(x); x=NULL; }
#endif
#if !defined(MAX_PATH) /* maximum path length */
#if defined MAXPATHLEN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment