diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-04-12 09:22:26 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-04-12 09:22:26 +0200 |
commit | d6af6d29fcac2b962f85abbf9e2d069d2a258896 (patch) | |
tree | d4f41f7591a5dcb0bfa66cbad982b9a6247636d8 /source/theme.c | |
parent | f1c23c5bfa6883ae8c86c19fbad040bb18d3f8a8 (diff) |
Small memory leak in theme-config parser.
Diffstat (limited to 'source/theme.c')
-rw-r--r-- | source/theme.c | 1 |
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] ); |