diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-04-04 08:31:25 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-04-04 08:31:25 +0200 |
commit | 358759e0ab43321bd250af3c731c629c94a91b06 (patch) | |
tree | f664331d9db6b2668dd0abeb8bb9afa4987caf8d /source/theme.c | |
parent | 39327a31977678675f4e2252e9bf8c45adfd2325 (diff) |
Reset pointer to NULL after free'ing.
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 f8657103..dd96d471 100644 --- a/source/theme.c +++ b/source/theme.c @@ -280,6 +280,7 @@ void yyerror ( YYLTYPE *yylloc, const char *what, const char* s ) g_string_append_printf ( str, "\tLocation: line %d column %d to line %d column %d\n", yylloc->first_line, yylloc->first_column, yylloc->last_line, yylloc->last_column ); } rofi_add_error_message ( str ); + g_log ( "Parser", G_LOG_LEVEL_DEBUG, "Failed to parse theme:\n%s", str->str ); } static gboolean rofi_theme_steal_property_int ( gpointer key, gpointer value, gpointer user_data ) |