diff --git a/WHATS_NEW b/WHATS_NEW index d0a147605..6368b3273 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.135 - ==================================== + Fix memory leak on error path of failing thin-pool percentage check. Add missing test for failing node allocation in lvmetad. Correct configure messages when enabling/disabling lvmlockd. diff --git a/lib/activate/dev_manager.c b/lib/activate/dev_manager.c index 964eef5af..6ec9d22cb 100644 --- a/lib/activate/dev_manager.c +++ b/lib/activate/dev_manager.c @@ -567,7 +567,7 @@ static int _ignore_unusable_thins(struct device *dev) dm_get_next_target(dmt, next, &start, &length, &target_type, ¶ms); if (!dm_get_status_thin_pool(mem, params, &status)) - return_0; + goto_out; if (status->read_only || status->out_of_data_space) { log_warn("WARNING: %s: Thin's thin-pool needs inspection.",