Use the FREE_AND_SET_NULL macro where appropriate

This commit is contained in:
sphericalice committed 2022-06-03 15:56:11 +01:00
1 parent d03756dfd2
commit 284e46927a
6 files changed
+10 -20

No files matched your search

+1 -2
View File
@@ -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;
}