summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-04-12 09:22:26 +0200
committerDave Davenport <qball@gmpclient.org>2017-04-12 09:22:26 +0200
commitd6af6d29fcac2b962f85abbf9e2d069d2a258896 (patch)
treed4f41f7591a5dcb0bfa66cbad982b9a6247636d8 /source
parentf1c23c5bfa6883ae8c86c19fbad040bb18d3f8a8 (diff)
Small memory leak in theme-config parser.
Diffstat (limited to 'source')
-rw-r--r--source/theme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/theme.c b/source/theme.c
index a04e7079..2dacdc40 100644
--- a/source/theme.c
+++ b/source/theme.c
@@ -89,6 +89,7 @@ void rofi_theme_free ( ThemeWidget *widget )
}
if ( widget->properties ) {
g_hash_table_destroy ( widget->properties );
+ widget->properties = NULL;
}
for ( unsigned int i = 0; i < widget->num_widgets; i++ ) {
rofi_theme_free ( widget->widgets[i] );