From b9831a42134ef30a74b98d8128b0a4730b093cba Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 3 Sep 2012 05:42:46 +0000 Subject: [PATCH] entrance: fix FILE leak by RustyBSD. Would be nice to use Eina_File and friends instead. SVN revision: 75947 --- AUTHORS | 1 + src/daemon/entrance_history.c | 1 + 2 files changed, 2 insertions(+) diff --git a/AUTHORS b/AUTHORS index 09df4f6..39f0e73 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,2 +1,3 @@ Michael Bouchaud alias yoz Carsten Haitzler +Maxime Villard diff --git a/src/daemon/entrance_history.c b/src/daemon/entrance_history.c index f2a7f5e..dd28b9b 100644 --- a/src/daemon/entrance_history.c +++ b/src/daemon/entrance_history.c @@ -161,6 +161,7 @@ _entrance_user_init() if (uid > 500 && uid < 3000) lu = eina_list_append(lu, eina_stringshare_add(user)); } + fclose(f); } EINA_LIST_FREE(lu, user) {