From 42c6a7fb35fcbef891b41a377c3137c725b09937 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 8 Mar 2005 14:33:40 +0000 Subject: [PATCH] Bugfix du double free --- htdocs/facture.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/facture.class.php b/htdocs/facture.class.php index ff289d5a251..5bbc3c54d73 100644 --- a/htdocs/facture.class.php +++ b/htdocs/facture.class.php @@ -370,7 +370,7 @@ class Facture } $this->db->free($result2); - $this->db->free($result); + return 1; } else @@ -385,7 +385,7 @@ class Facture return -2; } - $this->db->free($result); + $this->db->free($result); } else {