sms: don't try to destroy NULL hash tables
This commit is contained in:

committed by
Dan Williams

parent
9435a937ce
commit
dbf9e085d4
@@ -144,6 +144,7 @@ sms_auth_info_destroy (gpointer data)
|
||||
{
|
||||
SmsAuthInfo *info = data;
|
||||
|
||||
if (info->hash)
|
||||
g_hash_table_destroy (info->hash);
|
||||
g_free (info->str);
|
||||
memset (info, 0, sizeof (SmsAuthInfo));
|
||||
|
Reference in New Issue
Block a user