[Scip] BMS claims not freed memory for dynamic arrays

Martin Bergner mbergner at mathematik.tu-darmstadt.de
Mon Jun 21 11:07:19 MEST 2010


Hello all,

> Creation:
>     SCIP_CALL(SCIPcreatePtrarray(scip, &ptrarray));

> (...)
> 
> Free:
>     SCIPfreePtrarray(scip, &ptrarray)

this was only part of the truth: The first method was called in
PresolInitPre, the second one in PresolFree. Calling the
SCIPfreePtrarray function in PresolExitPre solved the problem.

Thanks to Kati for pointing out that the stage is indeed relevant.

Regards and thanks,
Martin



More information about the Scip mailing list