From: Tobias Ulmer Date: Tue, 21 Jan 2014 18:52:49 +0000 (+0100) Subject: Plug small memory leak in case of poll error X-Git-Tag: e2factory-2.3.15rc1~256 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=7640b720f22b2f429abda2ab9fcaceb229e3054d;p=e2factory.git Plug small memory leak in case of poll error Signed-off-by: Tobias Ulmer --- diff --git a/generic/le2lib.c b/generic/le2lib.c index d000708..2d1e3c6 100644 --- a/generic/le2lib.c +++ b/generic/le2lib.c @@ -337,6 +337,7 @@ poll_fd(lua_State *lua) if (f < 0) { lua_pushboolean(lua, 0); lua_pushstring(lua, strerror(errno)); + free(fds); return 2; }