sd-radv: fix memleak

Fixes one memleak found in #12452.
This commit is contained in:
Yu Watanabe 2019-05-04 18:08:23 +02:00
parent 2c448c8a17
commit 62bbbedf73
1 changed files with 1 additions and 0 deletions

View File

@ -598,6 +598,7 @@ _public_ sd_radv_prefix *sd_radv_remove_prefix(sd_radv *ra,
LIST_REMOVE(prefix, ra->prefixes, cur);
ra->n_prefixes--;
sd_radv_prefix_unref(cur);
break;
}