Re: Re: LDAP core dump followup
| From: | Amitay Isaacs | Date: | Tue, 11 Aug 1998 07:08:04 +0000 |
| Subject: | Re: Re: LDAP core dump followup | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94@lists.php.net to get a copy of this message | ||
| I don't think that is a good idea. Just removing ldap_free_entry() should
| be enough. (Which I already did).
|
| If I have:
|
| $result = ldap_search($ds, $dn, "cn=*Smith*");
| blah blah
| $result = ldap_search($ds, $dn, "cn=*Jones*");
| blah blah
|
| Then I potentially have two very large memory chunks allocated. It would
| be nice to keep the user-level ldap_free_result() function so this memory
| can be reclaimed before my second search and thus keep the runtime memory
| use of the script low.
point taken.
Amitay.
--
Even if you're on the right track, you'll get run over if you just sit
there.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net