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    [email protected]
GNU Project         http://www.gnu.org


Reply via email to