--- a/mcabber/src/jabglue.c Sat Mar 25 18:14:37 2006 +0100
+++ b/mcabber/src/jabglue.c Sat Mar 25 18:16:10 2006 +0100
@@ -367,8 +367,7 @@
hk_mystatuschange(0, mystatus, st, (st != invisible ? msg : ""));
mystatus = st;
if (msg != mystatusmsg) {
- if (mystatusmsg)
- g_free(mystatusmsg);
+ g_free(mystatusmsg);
if (*msg)
mystatusmsg = g_strdup(msg);
else
@@ -1318,8 +1317,7 @@
}
if (from && body)
gotmessage(type, from, body, enc, timestamp);
- if (tmp)
- g_free(tmp);
+ g_free(tmp);
}
static void evscallback_subscription(eviqs *evp, guint evcontext)