prep for memory management

This commit is contained in:
freedom7341
2023-09-22 14:17:16 -06:00
parent 6943fc563b
commit 24a17d0287
8 changed files with 50 additions and 4 deletions

View File

@@ -148,7 +148,7 @@ DWORD LoadGroupFromRegistry(_Inout_ PGROUP pg, _Out_ PDWORD pdwBufferSize)
// TODO: rethink this
// If the pointer is invalid then fail out
if (pg == NULL | pdwBufferSize == NULL)
if ((pg == NULL) | (pdwBufferSize == NULL))
return RCE_FAILURE;
// Load group