From dd43f7a89021396eafc0e7b7e7e5abe7adb747ae Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 7 Jun 2013 19:12:38 +0200 Subject: [PATCH] Fix: memory not freed --- htdocs/cashdesk/facturation.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/cashdesk/facturation.php b/htdocs/cashdesk/facturation.php index e70b4ed3483..e4f23785a97 100644 --- a/htdocs/cashdesk/facturation.php +++ b/htdocs/cashdesk/facturation.php @@ -55,6 +55,7 @@ if ( GETPOST('filtre') ) { } $i++; } + $db->free($resql); } else { @@ -90,6 +91,7 @@ if ( GETPOST('filtre') ) { } $i++; } + $db->free($resql); } else { @@ -147,6 +149,7 @@ if ($res) } $i++; } + $db->free($resql); } else {