Commit 4d413e3b authored by Jonas's avatar Jonas

Forgot to free results (Ooops) (reverted from commit 624dff9f)

parent 624dff9f
......@@ -968,9 +968,6 @@ class MysqliDb
else {
$success = false;
}
// Free result
$result->free();
}
else {
// Throw an exception
......@@ -1037,9 +1034,6 @@ class MysqliDb
else {
$success = false;
}
// Free result
$result->free();
}
else {
// Throw an exception
......@@ -1184,9 +1178,6 @@ class MysqliDb
else {
throw new Exception("Locking of table ".$table." failed");
}
// Free result
$result->free();
// Return the success value
return false;
......@@ -1220,9 +1211,7 @@ 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