projects
/
platform
/
upstream
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.29
[platform/upstream/connman.git]
/
src
/
ipv6pd.c
diff --git
a/src/ipv6pd.c
b/src/ipv6pd.c
index
5ecda38
..
0d221f0
100644
(file)
--- a/
src/ipv6pd.c
+++ b/
src/ipv6pd.c
@@
-165,8
+165,10
@@
static void cleanup(void)
timer_uplink = 0;
}
- g_hash_table_destroy(timer_hash);
- timer_hash = NULL;
+ if (timer_hash) {
+ g_hash_table_destroy(timer_hash);
+ timer_hash = NULL;
+ }
if (prefixes) {
g_slist_free_full(prefixes, g_free);