Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sat, 25 Oct 2014 15:45:01 UTC Commit: 0a61a7698f7519530cff60ccbdf6f16823377478 https://github.com/geany/geany-plugins/commit/0a61a7698f7519530cff60ccbdf6f1...
Log Message: ----------- debugger: Don't try destroying a NULL GHashTable
Modified Paths: -------------- debugger/src/debug.c
Modified: debugger/src/debug.c 7 lines changed, 5 insertions(+), 2 deletions(-) =================================================================== @@ -832,8 +832,11 @@ static void on_debugger_exited (int code) read_only_pages = NULL;
/* clear and destroy calltips cache */ - g_hash_table_destroy(calltips); - calltips = NULL; + if (calltips) + { + g_hash_table_destroy(calltips); + calltips = NULL; + }
/* enable widgets */ enable_sensitive_widgets(TRUE);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org