sd-icmp6-nd: fix uninitialized fd

This commit is contained in:
Ronny Chevalier 2014-06-19 19:32:29 +02:00 committed by Lennart Poettering
parent 513a6fa867
commit 03de7ed905

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;