portablectl: fix memleaks

Fixes #9089.
This commit is contained in:
Yu Watanabe
2018-05-26 16:57:02 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent c5a935b018
commit 8d93d7d84b
+1 -1
View File
@@ -272,7 +272,7 @@ static int inspect_image(int argc, char *argv[], void *userdata) {
fflush(stdout);
nl = true;
} else {
const char *pretty_portable = NULL, *pretty_os = NULL;
_cleanup_free_ char *pretty_portable = NULL, *pretty_os = NULL;
_cleanup_fclose_ FILE *f;