comparison src/dmres.c @ 2260:972d56ad2b78

Do closedir() in dmResourcesLoadDirectory(), even when under Win32.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 17 Jun 2019 00:49:21 +0300
parents 8962901faf5d
children e286454d305f
comparison
equal deleted inserted replaced
2259:8ca515ab9c84 2260:972d56ad2b78
1060 } 1060 }
1061 } while (dh != NULL); 1061 } while (dh != NULL);
1062 1062
1063 out: 1063 out:
1064 dmUnlockLibMutex(lib); 1064 dmUnlockLibMutex(lib);
1065
1066 #ifdef __WIN32
1067 #else
1068 closedir(hdir); 1065 closedir(hdir);
1069 #endif
1070
1071 return ret; 1066 return ret;
1072 } 1067 }
1073 #endif 1068 #endif
1074 1069
1075 1070