projects
/
platform
/
core
/
connectivity
/
net-config.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor Fix: ip-conflict: set sd to NULL after g_free()
[platform/core/connectivity/net-config.git]
/
src
/
ip-conflict-detect.c
diff --git
a/src/ip-conflict-detect.c
b/src/ip-conflict-detect.c
index
b4fc04e
..
d84a390
100755
(executable)
--- a/
src/ip-conflict-detect.c
+++ b/
src/ip-conflict-detect.c
@@
-402,6
+402,7
@@
struct sock_data * start_ip_conflict_mon(void)
if (__open_channel_and_sock(sd) == -1) {
INFO("__open_channel_and_sock failed");
g_free(sd);
+ sd = NULL;
return NULL;
}