diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index 146d9e777c2de9ea1034e35f67ca39996ac5ce33..b96ea931f21db18583443b93f079c2532b561856 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -1362,7 +1362,7 @@ class Commande extends CommonOrder $extralabels=$extrafields->fetch_name_optionals_label($this->table_element,true); $this->fetch_optionals($this->id,$extralabels); - $this->db->free(); + $this->db->free($result); /* * Lines