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