diff --git src/core/load-fragment.c src/core/load-fragment.c index 5803044..de2790f 100644 --- src/core/load-fragment.c +++ src/core/load-fragment.c @@ -881,12 +881,12 @@ int config_parse_bounding_set( return -ENOMEM; r = cap_from_name(t, &cap); - free(t); - if (r < 0) { - log_error("[%s:%u] Failed to parse capability bounding set, ignoring: %s", filename, line, rvalue); + log_error("[%s:%u] Failed to parse capability bounding set, ignoring: %s", filename, line, t); + free(t); continue; } + free(t); sum |= ((uint64_t) 1ULL) << (uint64_t) cap; }