aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-10-15 17:32:46 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-10-15 17:32:46 +0200
commit3dc9d46cc20d287c266fed97f92d298ed721f7b3 (patch)
treed457af2cca7bbdfa09a8a1b1ddb74aaf3cbe821d
parent2529faf12adfc414048dc41e949065855d0da945 (diff)
Fixed a very interesting memory leak in the OSCAR module.
-rw-r--r--protocols/msn/msn.c1
-rw-r--r--protocols/oscar/info.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/msn/msn.c b/protocols/msn/msn.c
index 46049108..f7e57707 100644
--- a/protocols/msn/msn.c
+++ b/protocols/msn/msn.c
@@ -366,7 +366,6 @@ static char *msn_set_display_name( set_t *set, char *value )
struct gaim_connection *gc = acc->gc;
struct msn_data *md;
char buf[1024], *fn;
- int i;
/* Double-check. */
if( gc == NULL )
diff --git a/protocols/oscar/info.c b/protocols/oscar/info.c
index ffe29d1f..0f1bcfd2 100644
--- a/protocols/oscar/info.c
+++ b/protocols/oscar/info.c
@@ -260,6 +260,7 @@ guint32 aim_getcap(aim_session_t *sess, aim_bstream_t *bs, int len)
if (!identified) {
/*FIXME*/
+ /*REMOVEME :-)
g_strdup_printf("unknown capability: {%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x}\n",
cap[0], cap[1], cap[2], cap[3],
cap[4], cap[5],
@@ -267,7 +268,7 @@ guint32 aim_getcap(aim_session_t *sess, aim_bstream_t *bs, int len)
cap[8], cap[9],
cap[10], cap[11], cap[12], cap[13],
cap[14], cap[15]);
-
+ */
}
g_free(cap);