Fixed crash issue on windows when cqmfile was not specified

fclose(cqmfile) crashed on windows when cqmfile was NULL
This commit is contained in:
Marko Viitanen 2014-02-14 14:38:53 +02:00
parent a860bbc7f9
commit a6e8373349

View file

@ -295,7 +295,7 @@ int main(int argc, char *argv[])
fclose(input); fclose(input);
fclose(output); fclose(output);
fclose(cqmfile); if(cqmfile != NULL) fclose(cqmfile);
#ifdef _DEBUG #ifdef _DEBUG
fclose(recout); fclose(recout);
#endif #endif