Re: Bug #14612: Memory leak afster destruction
| From: | Frits Zwegers | Date: | Mon, 08 Sep 2008 08:07:16 +0000 |
| Subject: | Re: Bug #14612: Memory leak afster destruction | ||
| References: | 1 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-4918@lists.php.net to get a copy of this message | ||
2008/9/8 PEAR Bug Database <pear-qa@lists.php.net>
> From: #28948ebbf3fcb389522
> Operating system: Linux debian
> Package version: 1.2.2
> PHP version: 5.2.5
> Package: Mail_Queue
> Bug Type: Bug
> Bug description: Memory leak afster destruction
>
> Description:
> ------------
> On instantiation the mail_queue creates an object for its container. When
> the mail_queue is destroyed, this object is not destroyed/unset. This
> causes a memory leak of around and about 518 kB per instance.
>
> Pleas add the line unset($this->container) to the destructor of the
> mail_queue.
>
> Second is the question if the PHP5 methods __construct and __destuct can
> be added to ensure that the right constructor and destructer are executed.
>
>
> --
> Edit bug report at
> http://pear.php.net/bugs/bug.php?id=14612&edit=2
>
>