Mercurial > pidgin
diff libpurple/protocols/myspace/session.c @ 28977:e137c1fc216a
Check if memory has been freed by looking at its contents does not work
100% of the time. If any of these functions are called with an invalid
object, then the correct fix is to determine why the function was called
and prevent it from being called.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 05 Feb 2010 01:18:18 +0000 |
parents | 295464ae2d2a |
children |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/session.c Thu Feb 04 23:03:24 2010 +0000 +++ b/libpurple/protocols/myspace/session.c Fri Feb 05 01:18:18 2010 +0000 @@ -76,8 +76,6 @@ void msim_session_destroy(MsimSession *session) { - g_return_if_fail(MSIM_SESSION_VALID(session)); - session->magic = -1; g_free(session->rxbuf);