Fix: bad free
This commit is contained in:
parent
b997c9c2cb
commit
870eb63ef6
@ -1094,7 +1094,8 @@ else
|
||||
else {
|
||||
dolibarr_print_error($db);
|
||||
}
|
||||
|
||||
$db->free($resql);
|
||||
|
||||
if ($caneditperms)
|
||||
{
|
||||
$form = new Form($db);
|
||||
@ -1168,7 +1169,6 @@ else
|
||||
|
||||
print "</table>";
|
||||
print "<br>";
|
||||
$db->free($result);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user