[unixODBC-dev] Memory leak in unixODBC?

Nick Gorham nick at easysoft.com
Mon Sep 6 11:54:23 BST 2004


Matthias Meier wrote:

> 
> Is there a (serious) problem to keep the connection open and exit() the 
> programm without
> closing the connection, and freeing the handles?

Not that I know. Normally for this type of program, I would connect at 
the start, and reuse the connection, closing at exit. But most databases 
cope with the connection being broken if the client app terminates (and 
IMHO, if they don't they should :-)

-- 
Nick



More information about the unixODBC-dev mailing list