Re: [PHP4BETA] Questions regarding the zend API
| From: | Andrei Zmievski | Date: | Fri, 17 Mar 2000 15:24:04 +0000 |
| Subject: | Re: [PHP4BETA] Questions regarding the zend API | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12328@lists.php.net to get a copy of this message | ||
On Fri, 17 Mar 2000, Ted Parnefors wrote:
> Well, it turned out to be a helper function in the imap-module where I had
> mostly been looking for how to use zend. Learning... :)
>
> Anyway, I got things to work properly, but my question remains, don't I
> have to free the memory for the temporarily allocated objects?
For add_next_index_object() you wouldn't free it because you're actually
storing a pointer to the allocated object.
-Andrei
The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
--Larry Wall