Commit 624dff9f authored by Jonas's avatar Jonas

Forgot to free results (Ooops)

parent 91beb078
......@@ -968,6 +968,9 @@ class MysqliDb
else {
$success = false;
}
// Free result
$result->free();
}
else {
// Throw an exception
......@@ -1034,6 +1037,9 @@ class MysqliDb
else {
$success = false;
}
// Free result
$result->free();
}
else {
// Throw an exception
......@@ -1179,6 +1185,9 @@ class MysqliDb
throw new Exception("Locking of table ".$table." failed");
}
// Free result
$result->free();
// Return the success value
return false;
}
......@@ -1211,6 +1220,8 @@ class MysqliDb
throw new Exception("Unlocking of tables failed");
}
// Free result
$result->free();
// Return self
return $this;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment