Skip to content

Commit

Permalink
sd-radv: fix memleak
Browse files Browse the repository at this point in the history
Fixes one memleak found in systemd#12452.
  • Loading branch information
yuwata committed May 7, 2019
1 parent 2c448c8 commit 62bbbed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libsystemd-network/sd-radv.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 62bbbed

Please sign in to comment.