Re: add_assoc_stringl WAS:beginner question....

From: Date: Sat, 10 Oct 1998 10:34:46 +0000
Subject: Re: add_assoc_stringl WAS:beginner question....
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-1777@lists.php.net to get a copy of this message
hi zeev.. Zeev Suraski wrote: > 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. i feel really bad about committing something that generates that error message in debug-mode (ughs!) could you please have a look at it and tell me what's wrong???? it's the php3_read_iptc function in image.c (i'm feel really stupid about it) regards, tc > > > >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

« previous php.dev (#1777) next »