diff options
author | infirit <[email protected]> | 2014-11-21 13:57:30 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-21 13:57:30 +0100 |
commit | c4483adfafac902912111a0b2318464c1f62cdde (patch) | |
tree | 178d1f6a31f9cef149e1e68913af6af94b392f1b | |
parent | b8c7de3fbbefe00fac750bf67dfb61797ba41938 (diff) | |
download | engrampa-c4483adfafac902912111a0b2318464c1f62cdde.tar.bz2 engrampa-c4483adfafac902912111a0b2318464c1f62cdde.tar.xz |
do not call release_data if the data was not initialized
Based on FR commit: 05c0b2c366f5524645167d9dca2268219563559d
From: Paolo Bacchilega <[email protected]>
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |