diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2010-08-20 01:16:40 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2010-12-04 15:38:09 +0100 |
commit | 0ce649e965560863d585393f70c7212a4f9cffbc (patch) | |
tree | 73e79b2fc90ff276124b3adec27b2defa882feb2 /gtk/gtkwidgetpath.c | |
parent | 91904f6778b40fd4cacf6efbdc7b6a25421ec0e0 (diff) | |
download | gtk+-0ce649e965560863d585393f70c7212a4f9cffbc.tar.gz |
Plug a bunch of leaks.
Diffstat (limited to 'gtk/gtkwidgetpath.c')
-rw-r--r-- | gtk/gtkwidgetpath.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkwidgetpath.c b/gtk/gtkwidgetpath.c index 6fe08f558a..0f5e420a41 100644 --- a/gtk/gtkwidgetpath.c +++ b/gtk/gtkwidgetpath.c @@ -102,6 +102,9 @@ gtk_widget_path_free (GtkWidgetPath *path) if (elem->regions) g_hash_table_destroy (elem->regions); + + if (elem->classes) + g_array_free (elem->classes, TRUE); } g_array_free (path->elems, TRUE); |