Handle shutdown

This commit is contained in:
James Booth
2015-05-24 00:55:39 +01:00
parent ed7e7e9670
commit 23cbdc9013
8 changed files with 48 additions and 27 deletions

View File

@@ -17,9 +17,12 @@ void
prime_free_all(void)
{
free(required_passwd);
required_passwd = NULL;
if (idstubs) {
g_hash_table_destroy(idstubs);
}
idstubs = NULL;
}
void