diff options
author | Cesar G <prototech91@gmail.com> | 2013-12-30 11:08:02 -0800 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2013-12-30 11:09:08 -0800 |
commit | 06262aca541691fd28f02d9b6983b57429f4a671 (patch) | |
tree | 5e6ee8d766d054d8bfe7e51c5dfc5fa248a16f86 /phpBB/includes/acp/acp_permission_roles.php | |
parent | 3ccc8add10b4a6d915d3edbb3075351301277aab (diff) | |
download | forums-06262aca541691fd28f02d9b6983b57429f4a671.tar forums-06262aca541691fd28f02d9b6983b57429f4a671.tar.gz forums-06262aca541691fd28f02d9b6983b57429f4a671.tar.bz2 forums-06262aca541691fd28f02d9b6983b57429f4a671.tar.xz forums-06262aca541691fd28f02d9b6983b57429f4a671.zip |
[ticket/12038] Free query results.
PHPBB3-12038
Diffstat (limited to 'phpBB/includes/acp/acp_permission_roles.php')
-rw-r--r-- | phpBB/includes/acp/acp_permission_roles.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_permission_roles.php b/phpBB/includes/acp/acp_permission_roles.php index b5b838faad..aca45575d3 100644 --- a/phpBB/includes/acp/acp_permission_roles.php +++ b/phpBB/includes/acp/acp_permission_roles.php @@ -363,6 +363,7 @@ class acp_permission_roles WHERE role_id = $role_id"; $result = $db->sql_query($sql); $order = $db->sql_fetchfield('role_order'); + $db->sql_freeresult($result); if ($order === false || ($order == 0 && $action == 'move_up')) { |