projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feca9aa
)
memoryleak: proxy method string was not freed
author
Jukka Rissanen
<jukka.rissanen@nokia.com>
Fri, 31 Dec 2010 09:57:08 +0000
(11:57 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 31 Dec 2010 18:08:57 +0000
(10:08 -0800)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
4b2be46
..
befd026
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-4520,6
+4520,7
@@
static int service_load(struct connman_service *service)
str = g_key_file_get_string(keyfile,
service->identifier, "Proxy.Method", NULL);
service->proxy = string2proxymethod(str);
+ g_free(str);
service->proxies = g_key_file_get_string_list(keyfile,
service->identifier, "Proxy.Servers", &length, NULL);