pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] Memory management in pdf_fp_func_destroy


From: Jose E . Marchesi
Subject: Re: [pdf-devel] Memory management in pdf_fp_func_destroy
Date: Thu, 01 Apr 2010 12:16:53 +0200 (CEST)

    However when destroying the function object pdf_dealloc is called
    on those values:
    
    pdf_fp_func_destroy (pdf_fp_func_t t)
    {
    [...]
      pdf_dealloc (t->domain);
      pdf_dealloc (t->range);
    [...]

Yes, that was a bug.  I just pushed your fix.

Instead of explicitly testing for pdf_fp_func_destroy I modified the
unit tests of the pdf-fp module to always destroy the used functions
before returning.

Thanks.

--
Jose E. Marchesi    address@hidden
GNU Project         http://www.gnu.org




reply via email to

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