Free primes
This commit is contained in:
@@ -13,6 +13,15 @@ prime_init(void)
|
||||
idstubs = g_hash_table_new_full(g_str_hash, g_str_equal, free, free);
|
||||
}
|
||||
|
||||
void
|
||||
prime_free_all(void)
|
||||
{
|
||||
free(required_passwd);
|
||||
if (idstubs) {
|
||||
g_hash_table_destroy(idstubs);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
prime_required_passwd(char *password)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user