diff --git a/edit.inc.php b/edit.inc.php index 66136ef7..3ecc2f49 100644 --- a/edit.inc.php +++ b/edit.inc.php @@ -59,6 +59,7 @@ if ($_POST) { if ($select) { $result = $mysql->query("SELECT " . implode(", ", $select) . " FROM " . idf_escape($_GET["edit"]) . " WHERE " . implode(" AND ", $where) . " LIMIT 1"); $row = $result->fetch_assoc(); + $result->free(); } else { $row = array(); }