diff options
author | INSUN PYO <insun.pyo@samsung.com> | 2016-06-23 15:05:24 +0900 |
---|---|---|
committer | INSUN PYO <insun.pyo@samsung.com> | 2016-06-23 15:06:34 +0900 |
commit | 2f6d5b415c9e6661054cdae662af641f38efc58a (patch) | |
tree | c71b4583e7884aa126d65a1e9ac3420c1c17385f | |
parent | 1542db0f7e5ae4ef8b444c56780bfa9f4a832c6a (diff) | |
download | dbus-2f6d5b415c9e6661054cdae662af641f38efc58a.tar.gz dbus-2f6d5b415c9e6661054cdae662af641f38efc58a.tar.bz2 dbus-2f6d5b415c9e6661054cdae662af641f38efc58a.zip |
policy: fix: add missing free #2submit/tizen/20160623.060952
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ibe6c2f780ecf4ea5ff549266b102546dce6d88d6
-rw-r--r-- | bus/smack.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bus/smack.c b/bus/smack.c index eb67ee6c..5e34d068 100644 --- a/bus/smack.c +++ b/bus/smack.c @@ -209,8 +209,10 @@ bus_smack_generate_allowed_list (DBusConnection *connection, return allowed_list; nomem: - if (allowed_list != NULL) + if (allowed_list != NULL) { _dbus_list_clear (allowed_list); + dbus_free (allowed_list); + } *nomem_err = TRUE; return NULL; |