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:
23c5324
)
Fix potential invalid pointer dereference
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 9 Aug 2009 06:13:33 +0000
(23:13 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 9 Aug 2009 06:13:33 +0000
(23:13 -0700)
src/ipconfig.c
patch
|
blob
|
history
diff --git
a/src/ipconfig.c
b/src/ipconfig.c
index
9f002a4
..
c149cc6
100644
(file)
--- a/
src/ipconfig.c
+++ b/
src/ipconfig.c
@@
-57,6
+57,8
@@
static void free_address_list(struct connman_ipconfig *ipconfig)
g_free(ipaddress->address);
g_free(ipaddress);
+
+ list->data = NULL;
}
g_slist_free(ipconfig->address_list);