summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 520f3df..4b0a51d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -385,7 +385,8 @@ command_done (CommandData *cdata)
static void
release_data ()
{
- g_hash_table_destroy (ProgramsCache);
+ if (! initialized)
+ return;
while (CommandList != NULL) {
CommandData *cdata = CommandList->data;