X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fswap.c;h=9c63e9bbb56ca82a7e4ce25de7219d79aa8040d2;hb=368f4ecd555efbef0cdd61a18f9b3ca5115f74c2;hp=15eca9aad74b4c1858f599b2701cd8541cd94fd3;hpb=f8e1e81d433c5b4e06792c2617abf0e6ec9e76d9;p=collectd.git diff --git a/src/swap.c b/src/swap.c index 15eca9aa..9c63e9bb 100644 --- a/src/swap.c +++ b/src/swap.c @@ -674,6 +674,7 @@ static int swap_read (void) /* {{{ */ { ERROR ("swap plugin: Total swap space (%g) is less than used swap space (%g).", total, used); + sfree (swap_entries); return (-1); }