1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-08-13 16:53:48 -04:00

Oh sweet free()dom

This commit is contained in:
Berke Viktor 2012-07-19 10:34:48 +02:00
parent ef81a24f64
commit 521d60736d

View File

@ -343,8 +343,11 @@ scrollback_load (session *sess)
text = strip_color (text + 1, -1, STRIP_COLOR);
}
fe_print_text (sess, text, stamp);
if (prefs.text_replay_strip_color)
{
g_free (text);
}
}
lines++;
}
@ -387,8 +390,11 @@ scrollback_load (session *sess)
text = cleaned_text;
}
fe_print_text (sess, text, stamp);
if (prefs.text_replay_strip_color)
{
g_free (text);
}
}
lines++;
}
}