projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42d6f17
)
Fix memory leak with nameserver and domain configuration
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 17 May 2010 07:26:17 +0000
(09:26 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 17 May 2010 07:26:17 +0000
(09:26 +0200)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
60262b6
..
9774ef6
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-1553,7
+1553,9
@@
static void service_free(gpointer user_data)
connman_location_unref(service->location);
g_strfreev(service->nameservers);
+ g_strfreev(service->domains);
+ g_free(service->nameserver);
g_free(service->mcc);
g_free(service->mnc);
g_free(service->apn);