1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

fixed a small memory leak

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1643 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-07-22 12:08:36 +00:00 committed by cras
parent 40ffd87ded
commit 559a5be42f

View File

@ -272,6 +272,7 @@ static void hilight_update_text_dest(TEXT_DEST_REC *dest, HILIGHT_REC *rec)
if (rec->priority > 0)
dest->hilight_priority = rec->priority;
g_free_not_null(dest->hilight_color);
dest->hilight_color = hilight_get_act_color(rec);
}