pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pdf-devel] pdf functions, pdf_create_stream


From: Hardy Falk
Subject: [pdf-devel] pdf functions, pdf_create_stream
Date: Fri, 5 Oct 2007 11:18:38 +0200
User-agent: KMail/1.9.5

Hi,
I use a mem_stream to pass an encoded sample table for type 0 
functions. Some remarks on memory allocation:


pdf_create_stm copies its dict argument but 
pdf_destroy_obj does not destroy it.
On the other hand, the stream is passed as reference but not 
closed. I have to close it manually. 
pdf_create_stream seems to be incomplete:
It should construct a derived stream with appropriate filters 
from a base stream, ready for use, and pdf_destroy_obj should 
deallocate any resources, e.g. filters.

For now, I'll use a workaround in test-function :-)


Attachment: tt.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]