Fixed double free

This commit is contained in:
James Booth
2015-06-02 00:41:35 +01:00
parent 1ab2713bc5
commit 202c4946a6
3 changed files with 1 additions and 6 deletions

View File

@@ -49,8 +49,8 @@ prime_free_all(void)
if (idstubs) {
g_hash_table_destroy(idstubs);
}
idstubs = NULL;
querystubs = NULL;
if (querystubs) {
g_hash_table_destroy(querystubs);
}