From e783c4bfcbc780a700e7b3514b4e493e524cd2cc Mon Sep 17 00:00:00 2001 From: "Lev2001@land.ru" Date: Tue, 27 Apr 2010 00:40:38 -0700 Subject: [PATCH] Fixed fopen leak in mapsmenu (bug 3957, r=dvander, a=blocking). --- plugins/mapsmenu.sma | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/mapsmenu.sma b/plugins/mapsmenu.sma index 32739f9e..b957f302 100755 --- a/plugins/mapsmenu.sma +++ b/plugins/mapsmenu.sma @@ -589,5 +589,7 @@ load_settings(filename[]) g_mapNums++; } + fclose(fp); + return 1; }