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 MysterGiftServer_Run(u16 * endVal)
{
*endVal = sServer->param;
MysteryGiftServer_Free(sServer);
Free(sServer);
sServer = NULL;
FREE_AND_SET_NULL(sServer);
}
return result;
}