diff --git a/src/jsreport.c b/src/jsreport.c index 44b9ea252..a6be8b46b 100644 --- a/src/jsreport.c +++ b/src/jsreport.c @@ -76,6 +76,7 @@ static int report_json(const char *filename, report_context * ctx, const char *c "\"margin\": 0, \"name\": \"hextiles\", \"properties\": { }, \"spacing\": 0, " "\"tileheight\" : 64, \"tilewidth\" : 64 }], \"tilewidth\": 64, \"tileheight\": 96}", F); } + fclose(F); return 0; } return -1;