summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-08-26 07:48:09 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-08-26 07:48:09 +0000
commite90425d8c5a3cd3c03cdd3a8252d78bc516cebf5 (patch)
tree74a194ff9982c06952a5d5b3866b4cdbc5672a74 /roundcubemail/program
parentcb0e0eb2645167dd293b73f2afd31d55d4ddbc93 (diff)
-removed flush() calls in iil_C_HandlePartBody() to prevent from memory leak (#1485187)
git-svn-id: https://svn.roundcube.net/trunk@1682 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/lib/imap.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/roundcubemail/program/lib/imap.inc b/roundcubemail/program/lib/imap.inc
index 84d1b36b9..c10c90101 100644
--- a/roundcubemail/program/lib/imap.inc
+++ b/roundcubemail/program/lib/imap.inc
@@ -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 @@ function iil_C_HandlePartBody(&$conn, $mailbox, $id, $part, $mode) {
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);
}
}
}