We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 536a597 commit f210f67Copy full SHA for f210f67
MemoryModule.c
@@ -501,7 +501,7 @@ void MemoryFreeLibrary(HMEMORYMODULE mod)
501
if (module->modules != NULL) {
502
// free previously opened libraries
503
for (i=0; i<module->numModules; i++) {
504
- if (module->modules[i] != INVALID_HANDLE_VALUE) {
+ if (module->modules[i] != NULL) {
505
module->freeLibrary(module->modules[i], module->userdata);
506
}
507
0 commit comments