Re: cvs: php4 /ext/gd/ gdttf.c
| From: | Andi Gutmans | Date: | Mon, 12 Jun 2000 19:40:40 +0000 |
| Subject: | Re: cvs: php4 /ext/gd/ gdttf.c | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-198@lists.php.net to get a copy of this message | ||
Can you document it next to the virtual_filepath() call because at some point all of the virtual stuff will probably move from malloc() -> emalloc() so I want to be sure this isn't missed. The rest of the code is pretty much self-contained and easy to track down.
Thanks,
Andi
At 02:31 PM 6/12/00 -0500, Andrei Zmievski wrote:
On Mon, 12 Jun 2000, Andi Gutmans wrote: virtual_filepath() sets the filepath to a malloc()'ed path. You need to free() it later on. Check the swf_openfile() code. I know it's a bit ugly but I can't think of any better way right now. It is freed later on in fontRelease(). -Andrei * The future is not what it used to be. *--- Andi Gutmans <andi@zend.com> http://www.zend.com/