mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
Clarify the MARCO a little.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11051 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4ba4961641
commit
a301fe0cc8
@ -20,8 +20,9 @@ typedef VOID *SHELL_FILE_HANDLE;
|
||||
#ifndef SHELL_FREE_NON_NULL
|
||||
#define SHELL_FREE_NON_NULL(Pointer) \
|
||||
do { \
|
||||
if (Pointer != NULL) { \
|
||||
FreePool(Pointer); \
|
||||
if ((Pointer) != NULL) { \
|
||||
FreePool((Pointer)); \
|
||||
(Pointer) = NULL; \
|
||||
} \
|
||||
} while(FALSE)
|
||||
#endif //SHELL_FREE_NON_NULL
|
||||
|
Loading…
x
Reference in New Issue
Block a user