Use the FREE_AND_SET_NULL macro where appropriate
This commit is contained in:
1 parent
d03756dfd2
commit
284e46927a
6 files changed
+10
-20
No files matched your search
@@ -44,8 +44,7 @@ u32 MysteryGiftClient_Run(u16 * endVal)
|
||||
{
|
||||
*endVal = sClient->param;
|
||||
MysteryGiftClient_Free(sClient);
|
||||
Free(sClient);
|
||||
sClient = NULL;
|
||||
FREE_AND_SET_NULL(sClient);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user