summaryrefslogtreecommitdiff
path: root/gtk/a11y
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-12-05 20:25:30 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2020-12-05 20:25:30 +0000
commitf6c53ced0de40bc34a95394c5a5d2d40a1eb57c1 (patch)
tree2f36a83eb538b6e5fce2fb4816fbd8874bfea5df /gtk/a11y
parentee26e282ccd019e23620ce31fd4326765f161d68 (diff)
downloadgtk+-f6c53ced0de40bc34a95394c5a5d2d40a1eb57c1.tar.gz
a11y: Plug a leak in the AT-SPI contextebassi/a11y-leak
Fixes: #3450
Diffstat (limited to 'gtk/a11y')
-rw-r--r--gtk/a11y/gtkatspicontext.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/a11y/gtkatspicontext.c b/gtk/a11y/gtkatspicontext.c
index 46b157a3fa..c55117587b 100644
--- a/gtk/a11y/gtkatspicontext.c
+++ b/gtk/a11y/gtkatspicontext.c
@@ -1519,6 +1519,7 @@ gtk_at_spi_context_unrealize (GtkATContext *context)
gtk_atspi_disconnect_selection_signals (accessible);
gtk_at_spi_context_unregister_object (self);
+ g_clear_pointer (&self->context_path, g_free);
g_clear_object (&self->root);
}