fixed memory leak in showSolution
This commit is contained in:
parent
d77534a8ef
commit
349e7c3c46
1 changed files with 2 additions and 1 deletions
|
|
@ -682,7 +682,8 @@ namespace Cantera {
|
|||
void StFlow::showSolution(const doublereal* x) {
|
||||
int nn = m_nv/5;
|
||||
int i, j, n;
|
||||
char* buf = new char[100];
|
||||
//char* buf = new char[100];
|
||||
char buf[100];
|
||||
|
||||
// The mean molecular weight is needed to convert
|
||||
updateThermo(x, 0, m_points-1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue