From 546209fa2fb3616033d0353aa613ba82eb2a7275 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 25 May 2024 22:38:27 +0200 Subject: Fixed resource leaks --- FICS/obsproc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'FICS/obsproc.c') diff --git a/FICS/obsproc.c b/FICS/obsproc.c index 7645812..5a99b75 100644 --- a/FICS/obsproc.c +++ b/FICS/obsproc.c @@ -1823,6 +1823,7 @@ jsave_history(int p, char save_spot, int p1, int from, char *to_file) pprintf(p, "Please report this to an admin.\n"); fprintf(stderr, "FICS: System command failed " "in jsave_journalentry\n"); + fclose(Game); return; } -- cgit v1.2.3