Re: add_assoc_stringl WAS:beginner question....
| From: | Zeev Suraski | Date: | Sat, 10 Oct 1998 10:28:25 +0000 |
| Subject: | Re: add_assoc_stringl WAS:beginner question.... | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-1776@lists.php.net to get a copy of this message | ||
At 18:47 09/10/98 +0200, Thies C. Arntzen wrote:
>hi again (sorry for wasting bandwidth)
>
>if i run configure without the --enable-debug switch i don't get the error
>message...
It's not an error message but a warning message. PHP only tracks memory
usage when it's compile with debug enabled, since it slows it down
significantly. You still have a problem in your code, it's just that with
debug disabled, it won't find that out.
>but anyhow, if i use add_assoc_stringl who take care of freeing up the
>key-buffer???
You do. Often the key buffer is static so it doesn't have to be freed at all.
Zeev
--
Zeev Suraski <zeev@php.net>
For a PGP public key, finger bourbon@netvision.net.il
--
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