Commit d7283bc5 authored by Alexander Barkov's avatar Alexander Barkov

Fixing some of the memory leaks in ODBCColumns().

modified:
  storage/connect/odbconn.cpp
parent a8fb8e14
...@@ -304,6 +304,9 @@ PQRYRES ODBCColumns(PGLOBAL g, char *dsn, char *table, ...@@ -304,6 +304,9 @@ PQRYRES ODBCColumns(PGLOBAL g, char *dsn, char *table,
} else } else
qrp = NULL; qrp = NULL;
/* Cleanup */
ocp->Close();
/************************************************************************/ /************************************************************************/
/* Return the result pointer for use by GetData routines. */ /* Return the result pointer for use by GetData routines. */
/************************************************************************/ /************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment