Mercurial > pidgin.yaz
changeset 8368:57e5ef6b7a69
[gaim-migrate @ 9095]
This could possibly fix a segfault, but I'm not positive.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 29 Feb 2004 10:13:54 +0000 |
parents | 5f78e96ff135 |
children | 27c0cb0d8d07 |
files | src/protocols/msn/msn.c |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/msn.c Sun Feb 29 05:40:45 2004 +0000 +++ b/src/protocols/msn/msn.c Sun Feb 29 10:13:54 2004 +0000 @@ -504,10 +504,13 @@ { MsnSession *session = gc->proto_data; - if (session->http_method) - msn_http_session_uninit(session); + if (session != NULL) + { + if (session->http_method) + msn_http_session_uninit(session); - msn_session_destroy(session); + msn_session_destroy(session); + } gc->proto_data = NULL; }