Return to readdir.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / win32 |
version 1.1.1.1, 2012/02/21 23:48:06 | version 1.1.1.2, 2014/06/15 20:04:03 |
---|---|
Line 45 DIR *opendir(const char *dir) | Line 45 DIR *opendir(const char *dir) |
dp = (DIR *) malloc(sizeof(DIR)); | dp = (DIR *) malloc(sizeof(DIR)); |
if (dp == NULL) { | if (dp == NULL) { |
free(filespec); | |
return NULL; | return NULL; |
} | } |
dp->offset = 0; | dp->offset = 0; |