aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2022-08-19 15:57:36 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2022-08-19 22:43:33 +0000
commit129807c417de58d08ff9cb6072b0afbd045d2bb5 (patch)
treee49bbe6b46151a5ed772cf2dfb19c243a1dfc8e7
parent20c558546c1606cc7afc6ee87992efc528ccb06a (diff)
cli,output: plug leak of OutputItemListItem items
-rw-r--r--cli/mmcli-output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/mmcli-output.c b/cli/mmcli-output.c
index c3f0d0e7..1bb17f82 100644
--- a/cli/mmcli-output.c
+++ b/cli/mmcli-output.c
@@ -384,6 +384,7 @@ output_item_free (OutputItem *item)
g_free (((OutputItemListitem *)item)->prefix);
g_free (((OutputItemListitem *)item)->value);
g_free (((OutputItemListitem *)item)->extra);
+ g_slice_free (OutputItemListitem, (OutputItemListitem *)item);
break;
default:
g_assert_not_reached ();