at-spi-bus-launcher: fixed memory leak 42/289842/2
authorMaria Bialota <m.bialota@samsung.com>
Tue, 14 Mar 2023 14:04:05 +0000 (15:04 +0100)
committerMaria Bialota <m.bialota@samsung.com>
Tue, 14 Mar 2023 14:15:13 +0000 (15:15 +0100)
Change-Id: Ieb4985780a21f4608f11d1e8e51aef1c401b1637

bus/at-spi-bus-launcher.c

index 36c8f73..7877fd4 100644 (file)
@@ -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)
     {