[libGD] #62 [Comment added] invoke gdFree error!

[email protected] (libGD)
Newsgroups php.gd.bugs
Message-ID <[email protected]>
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#62 - invoke gdFree error!
User who did this - Pierre Joye (Pierre)

----------
Hm, do you have a complete example please, something I can compile and run. Or at least point me to the original context of this code snippet. 

> imPtr from gdImageCopyMerge

gdImageCopyMerge accepts a source and destination gdImagePtr, it does not create an image ptr. 

> picBuf = gdImagePngPtr(imPtr, size);

does imPtr contain a valid PNG data? It should be a buffer containing a PNG image (just like what you can have in a file).

By the way, gdFree should not be called to free a gdImagePtr but gdImageDestroy should be used.
----------

More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=62#comment169

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.