From 34a26a69425377e18b52474d46db5a20bf1d3197 Mon Sep 17 00:00:00 2001 From: Maria Bialota Date: Tue, 14 Mar 2023 15:04:05 +0100 Subject: [PATCH] at-spi-bus-launcher: fixed memory leak Change-Id: Ieb4985780a21f4608f11d1e8e51aef1c401b1637 --- bus/at-spi-bus-launcher.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c index 36c8f73..7877fd4 100644 --- a/bus/at-spi-bus-launcher.c +++ b/bus/at-spi-bus-launcher.c @@ -383,7 +383,10 @@ ensure_a11y_bus_daemon (A11yBusLauncher *app, char *config_path) } if (app->a11y_bus_pid != 0) - return FALSE; + { + g_free(address_param); + return FALSE; + } if (pipe (app->pipefd) < 0) { -- 2.7.4