projects
/
platform
/
core
/
appfw
/
event-system.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bedab2c
)
Fix memory leak
22/53622/1
accepted/tizen/mobile/20151209.024819
accepted/tizen/tv/20151209.024845
accepted/tizen/wearable/20151209.024909
submit/tizen/20151209.003413
author
Oskar Świtalski
<o.switalski@samsung.com>
Tue, 8 Dec 2015 08:15:25 +0000
(09:15 +0100)
committer
Oskar Świtalski
<o.switalski@samsung.com>
Tue, 8 Dec 2015 08:23:18 +0000
(09:23 +0100)
Strings from Cynara gdbus helper lib should be freed with g_free()
Change-Id: I1131bb38026961c7abe27f46b6eafa2c025744c2
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
src/esd_main.c
patch
|
blob
|
history
diff --git
a/src/esd_main.c
b/src/esd_main.c
index
2093cf5
..
ba3dd4e
100644
(file)
--- a/
src/esd_main.c
+++ b/
src/esd_main.c
@@
-1450,6
+1450,9
@@
static void check_privilege_valid_method_call(GDBusConnection *connection, const
}
out:
+ g_free(client);
+ g_free(user);
+ g_free(session);
param = g_variant_new("(i)", result);
_D("event_name(%s), result(%d)", event_name, result);
g_dbus_method_invocation_return_value(invocation, param);