File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ Fixed bugs
7070- fixed call of SCIPcreateConsBasicSOCNonlinear() with coefs being NULL, and fixed check for offsets being finite
7171- avoid crash when initial IIS solve fails while reporting errors explicitly
7272- fixed failure in nl writing on big endian machines
73+ - correct memory reallocation in storeSubproblemMasterVar() of benders.c to avoid freeing errors
7374
7475Miscellaneous
7576-------------
Original file line number Diff line number Diff line change @@ -1481,8 +1481,7 @@ SCIP_RETCODE storeSubproblemMasterVar(
14811481 int newsize ;
14821482
14831483 newsize = SCIPsetCalcMemGrowSize (set , benders -> nsubmastervars [probnumber ] + 1 );
1484- SCIP_ALLOC ( BMSreallocBlockMemoryArray (SCIPblkmem (set -> scip ), & benders -> submastervars [probnumber ],
1485- benders -> submastervarssize [probnumber ], newsize ) );
1484+ SCIP_ALLOC ( BMSreallocMemoryArray (& benders -> submastervars [probnumber ], newsize ) ); /*lint !e866*/
14861485
14871486 benders -> submastervarssize [probnumber ] = newsize ;
14881487 }
You can’t perform that action at this time.
0 commit comments