We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fbfdb3 commit 960b4e8Copy full SHA for 960b4e8
win32/readdir.c
@@ -45,6 +45,7 @@ DIR *opendir(const char *dir)
45
46
dp = (DIR *) malloc(sizeof(DIR));
47
if (dp == NULL) {
48
+ free(filespec);
49
return NULL;
50
}
51
dp->offset = 0;
0 commit comments