[systemd-devel] [PATCH] dbus1-generator: fix resource leak on file pointer f

2014-06-12 Thread Colin King
From: Colin Ian King colin.k...@canonical.com File pointer f is not closed on the multiple error exit paths or on the end of create_dbus_files() causing multiple points of a resource leak. Close f on the appropriate paths. Signed-off-by: Colin Ian King colin.k...@canonical.com ---

Re: [systemd-devel] [PATCH] dbus1-generator: fix resource leak on file pointer f

2014-06-12 Thread Cristian Rodríguez
El 12/06/14 12:44, Colin King escribió: From: Colin Ian King colin.k...@canonical.com File pointer f is not closed on the multiple error exit paths or on the end of create_dbus_files() causing multiple points of a resource leak. Close f on the appropriate paths. There is no resource leak..