Aleksander,

You have a memory leak in matheval.c.  Any call to evaluator_create() with an 
invalid expression will leak 6.6 kb due to the default symbol table not being 
freed.

I changed the error return in evaluator_create() as follows:


      if (!ok)
    {
        /*@@@THJ: Free the #$%@%! Symbol Table */
        symbol_table_destroy(symbol_table);
            return NULL;
    }

Best Regards,
-Theran

Reply via email to