mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +00:00
Fixed memory leak.
This commit is contained in:
@@ -251,7 +251,10 @@ match_nick (const char *word, int *start, int *end)
|
||||
str = g_strndup (&word[*start], *end - *start);
|
||||
|
||||
if (!userlist_find (current_sess, str))
|
||||
{
|
||||
g_free (str);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
g_free (str);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user