bugfix: only fclose recout if it was opened

This commit is contained in:
Marko Viitanen 2014-03-11 09:09:43 +02:00
parent eaf4434ae9
commit d2d877933a

View file

@ -361,7 +361,7 @@ int main(int argc, char *argv[])
fclose(input); fclose(input);
fclose(output); fclose(output);
if(cqmfile != NULL) fclose(cqmfile); if(cqmfile != NULL) fclose(cqmfile);
fclose(recout); if(recout != NULL) fclose(recout);
// Deallocating // Deallocating
config_destroy(cfg); config_destroy(cfg);