mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixing some of the memory leaks in ODBCColumns().
modified: storage/connect/odbconn.cpp
This commit is contained in:
@@ -304,6 +304,9 @@ PQRYRES ODBCColumns(PGLOBAL g, char *dsn, char *table,
|
||||
} else
|
||||
qrp = NULL;
|
||||
|
||||
/* Cleanup */
|
||||
ocp->Close();
|
||||
|
||||
/************************************************************************/
|
||||
/* Return the result pointer for use by GetData routines. */
|
||||
/************************************************************************/
|
||||
|
Reference in New Issue
Block a user