mirror of
https://github.com/moparisthebest/hexchat
synced 2025-02-09 11:50:36 -05:00
Fixed memory leak.
This commit is contained in:
parent
6ec7bfad30
commit
61c9ad08bf
@ -251,7 +251,10 @@ match_nick (const char *word, int *start, int *end)
|
|||||||
str = g_strndup (&word[*start], *end - *start);
|
str = g_strndup (&word[*start], *end - *start);
|
||||||
|
|
||||||
if (!userlist_find (current_sess, str))
|
if (!userlist_find (current_sess, str))
|
||||||
|
{
|
||||||
|
g_free (str);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
g_free (str);
|
g_free (str);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user