mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-25 17:41:25 +02:00
[ticket/13713] Free SQL results
PHPBB3-13713
This commit is contained in:
@@ -80,6 +80,8 @@ class mention_helper
|
||||
{
|
||||
$this->cached_colors['users'][$row['user_id']] = $row['user_colour'];
|
||||
}
|
||||
|
||||
$this->db->sql_freeresult($result);
|
||||
}
|
||||
|
||||
if (!empty($group_ids))
|
||||
@@ -97,6 +99,8 @@ class mention_helper
|
||||
{
|
||||
$this->cached_colors['groups'][$row['group_id']] = $row['group_colour'];
|
||||
}
|
||||
|
||||
$this->db->sql_freeresult($result);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user