Hi, Tim<br><br>I understand you know FlopC++ has quite a few memory leaks.&nbsp; Some are  minor but some are significant. After checking the source code, I assume, based on my limited understanding, some leaks are easy to fix. For example, in mp_model.cpp, a pointer c is newed and passed to &quot;Solver-&gt;loadProblem&quot; but never released. Here is the code
<br><br>---------------------------------------------------<br>c =&nbsp; new double[n]; <br>&nbsp; for (int j=0; j&lt;n; j++) {<br>&nbsp;&nbsp;&nbsp; c[j] = 0.0;<br>&nbsp; }<br>&nbsp; for (size_t i=0; i&lt;coefs.size(); i++) {<br>&nbsp;&nbsp;&nbsp; int col = coefs[i].col;
<br>&nbsp;&nbsp;&nbsp; double elm = coefs[i].val;<br>&nbsp;&nbsp;&nbsp; c[col] = elm;<br>&nbsp; } <br><br>&nbsp; // Column bounds<br>&nbsp; for (int j=0; j&lt;n; j++) {<br>&nbsp;&nbsp;&nbsp; l[j] = 0.0;<br>&nbsp;&nbsp;&nbsp; u[j] = inf;<br>&nbsp; }<br><br>&nbsp; for (varIt i=Variables.begin(); i!=Variables.end
(); i++) {<br>&nbsp;&nbsp;&nbsp; for (int k=0; k&lt;(*i)-&gt;size(); k++) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; l[(*i)-&gt;offset+k] = (*i)-&gt;lowerLimit.v[k];<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; u[(*i)-&gt;offset+k] = (*i)-&gt;upperLimit.v[k];<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp; }<br><br>&nbsp; Solver-&gt;loadProblem(n, m, Cst, Rnr, Elm, l, u, c, bl, bu);
<br>-----------------------------------------------<br><br>My question is,&nbsp; is it just as easy as add &quot;delete [] c&quot; after calling &quot;Solver-&gt;loadProblem&quot; and then the problem will be fixed, or it is not as easy as it looks and more complication is involved? If the former is true, then my second question is, when are you going to fix those easy-to-fix leaks? :-)
<br><br><br>Cheers<br>Paul<br>