[gtk/ebassi/atspi-path-sanitize] a11y: Fix leak




commit a56b2900dd1d633c3abfc40c394ab5ec2fc16197
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Jan 12 12:00:51 2021 +0000

    a11y: Fix leak
    
    Introduced by me in commit 03b60a2d5e40da1b137117aba05a2c818edd09b3.

 gtk/a11y/gtkatspiroot.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtk/a11y/gtkatspiroot.c b/gtk/a11y/gtkatspiroot.c
index 6aa1048841..0b3e5044d4 100644
--- a/gtk/a11y/gtkatspiroot.c
+++ b/gtk/a11y/gtkatspiroot.c
@@ -680,6 +680,8 @@ gtk_at_spi_root_constructed (GObject *gobject)
                                      "/a11y",
                                      NULL);
 
+      g_free (base_name);
+
       /* Turn potentially invalid program names into something that can be
        * used as a DBus path
        */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]