Mercurial > pidgin.yaz
changeset 1871:4836d30127df
[gaim-migrate @ 1881]
i'm a moron
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 21 May 2001 05:54:26 +0000 |
parents | 28921530e20b |
children | efc899af4912 |
files | src/oscar.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/oscar.c Mon May 21 04:15:27 2001 +0000 +++ b/src/oscar.c Mon May 21 05:54:26 2001 +0000 @@ -951,6 +951,7 @@ aim_auth_sendcookie(sess, tstconn, tstconn->priv); g_free(tstconn->priv); + tstconn->priv = NULL; odata->cnpa = gdk_input_add(tstconn->fd, GDK_INPUT_READ | GDK_INPUT_EXCEPTION, oscar_callback, tstconn); debug_printf("chatnav: connected\n"); @@ -977,6 +978,7 @@ aim_auth_sendcookie(sess, tstconn, tstconn->priv); g_free(tstconn->priv); + tstconn->priv = NULL; odata->cnpa = gdk_input_add(tstconn->fd, GDK_INPUT_READ | GDK_INPUT_EXCEPTION, oscar_callback, tstconn); debug_printf("chatnav: connected\n"); @@ -1008,6 +1010,7 @@ aim_chat_attachname(tstconn, ccon->name); aim_auth_sendcookie(sess, tstconn, ccon->priv); g_free(ccon->priv); + ccon->priv = NULL; } int gaim_handle_redirect(struct aim_session_t *sess, struct command_rx_struct *command, ...) { @@ -1058,6 +1061,7 @@ if (fd < 0) { if (tstconn->priv) g_free(tstconn->priv); + tstconn->priv = NULL; aim_conn_kill(sess, &tstconn); debug_printf("unable to reconnect with authorizer\n"); g_free(host); @@ -1083,6 +1087,7 @@ if (fd < 0) { if (tstconn->priv) g_free(tstconn->priv); + tstconn->priv = NULL; aim_conn_kill(sess, &tstconn); debug_printf("unable to connect to chatnav server\n"); g_free(host);