sd-icmp6-nd: fix uninitialized fd

This commit is contained in:
Ronny Chevalier
2014-06-20 00:27:38 +02:00
committed by Lennart Poettering
parent 513a6fa867
commit 03de7ed905
+1
View File
@@ -171,6 +171,7 @@ int sd_icmp6_nd_new(sd_icmp6_nd **ret) {
nd->n_ref = REFCNT_INIT;
nd->index = -1;
nd->fd = -1;
*ret = nd;
nd = NULL;