fixed memory leak in showSolution

This commit is contained in:
Dave Goodwin 2005-01-06 11:08:45 +00:00
parent d77534a8ef
commit 349e7c3c46

View file

@ -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);