pull/31/merge
Pavel Gushchin 8 years ago committed by GitHub
commit 10c38c2ea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -438,6 +438,7 @@ static MMFILE *mmfopen(const char *name, const char *mode)
mmfile = (MMFILE *)malloc(len+sizeof(MMFILE));
if( !mmfile || len <= 0 ) {
fclose(fp);
free(mmfile);
return NULL;
}
fseek(fp, 0, SEEK_SET);

Loading…
Cancel
Save