Fix memory leaks

This commit is contained in:
James Booth
2016-02-14 01:49:57 +00:00
parent 7a19ee822b
commit d7b331874a
2 changed files with 2 additions and 0 deletions

View File

@@ -116,6 +116,7 @@ sv_ev_roster_received(void)
} }
free(err_str); free(err_str);
} }
account_free(account);
#endif #endif
// send initial presence // send initial presence

View File

@@ -628,6 +628,7 @@ wins_do_notify_remind(void)
} }
curr = g_list_next(curr); curr = g_list_next(curr);
} }
g_list_free(values);
return FALSE; return FALSE;
} }