Menu

#14 No ~TclSqlStatement = mem leak

open
nobody
None
5
2003-11-06
2003-11-06
Anonymous
No

add this in statement.cxx to fix the pb:
TclSqlStatement::~TclSqlStatement () {
if (argDefBuffer != NULL) {
Tcl_Free ((char *) argDefBuffer);
argDefBuffer = NULL;
}
}
(of course announce it in tclodbc.hxx)

Discussion


Log in to post a comment.