| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2006.11.02 04:59 "Re: free() data returned by TIFFGetField() ?", by Joris Van DammePaul J. Lucas wrote: > When doing TIFFGetField() for fields that return void* and a length, > e.g., TIFFTAG_ICCPROFILE, is it necessary to free the data returned? > I.e., is it copied to a buffer that the caller is responsible for > freeing? No, it is not necessary nor permitted to free that data. A pointer to a data block internally allocated, managed, and freed by the library itself, is returned. Best regards, Joris Van Damme info@awaresystems.be http://www.awaresystems.be/ Download your free TIFF tag viewer for windows here: http://www.awaresystems.be/imaging/tiff/astifftagviewer.html |
|||||||