[Svn] r1682 - trunk/roundcubemail/program/lib

trac at roundcube.net trac at roundcube.net
Tue Aug 26 09:48:09 CEST 2008


Author: alec
Date: 2008-08-26 02:48:09 -0500 (Tue, 26 Aug 2008)
New Revision: 1682

Modified:
   trunk/roundcubemail/program/lib/imap.inc
Log:
-removed flush() calls in iil_C_HandlePartBody() to prevent from memory leak (#1485187)


Modified: trunk/roundcubemail/program/lib/imap.inc
===================================================================
--- trunk/roundcubemail/program/lib/imap.inc	2008-08-26 07:21:50 UTC (rev 1681)
+++ trunk/roundcubemail/program/lib/imap.inc	2008-08-26 07:48:09 UTC (rev 1682)
@@ -62,6 +62,7 @@
 		- removed hardcoded data size in iil_ReadLine() 
 		- added iil_PutLine() wrapper for fputs()
 		- code cleanup and identation fixes
+		- removed flush() calls in iil_C_HandlePartBody() to prevent from memory leak (#1485187)
 
 ********************************************************/
 
@@ -2402,9 +2403,9 @@
 		                if ($mode == 1) {
             			        $result .= rtrim($line, "\t\r\n\0\x0B") . "\n";
 		                } else if ($mode == 2) {
-            			        echo rtrim($line, "\t\r\n\0\x0B") . "\n"; flush();
+            			        echo rtrim($line, "\t\r\n\0\x0B") . "\n";
 		                } else if ($mode == 3) {
-            				echo base64_decode($line); flush();
+            				echo base64_decode($line);
             			}
         		}
     		}

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list