X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=banana%2Fmimepart.inc.php;h=9a4b6ff728cce882ff820dfb8de10453ccf5ec50;hb=53c99d1963eaba55fd4bfeb1757081d3e2a320b8;hp=577af46423d6749cce6ed3c47e7a7fb498e3a2ea;hpb=de2d442deb5be66b2bbe677b490588e470cfce8c;p=banana.git diff --git a/banana/mimepart.inc.php b/banana/mimepart.inc.php index 577af46..9a4b6ff 100644 --- a/banana/mimepart.inc.php +++ b/banana/mimepart.inc.php @@ -156,10 +156,12 @@ class BananaMimePart return; } $content = join("\n", $lines); + unset($lines); $test = trim($content); if (empty($test)) { return; } + unset($test); $content_type = strtolower($this->getHeader('content-type', '/^\s*([^ ;]+?)(;|$)/')); if (empty($content_type)) {