projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6680492
)
Fix memory leak per gborg bug 1356 [pauldaugherty]
author
Dave Page
<dpage@pgadmin.org>
Mon, 1 Aug 2005 20:56:46 +0000
(20:56 +0000)
committer
Dave Page
<dpage@pgadmin.org>
Mon, 1 Aug 2005 20:56:46 +0000
(20:56 +0000)
statement.c
patch
|
blob
|
blame
|
history
diff --git
a/statement.c
b/statement.c
index b579fdb541c8b640e7445574c1b60d62a4ff3ed3..79f813a5403d26fbdb7c8e2d71e55ba52c1f07c8 100644
(file)
--- a/
statement.c
+++ b/
statement.c
@@
-366,6
+366,8
@@
SC_Destructor(StatementClass *self)
GDATA_unbind_cols(SC_get_GDTI(self), TRUE);
DELETE_STMT_CS(self);
+ if (self->pdata_info.pdata != 0)
+ free(self->pdata_info.pdata);
free(self);
mylog("SC_Destructor: EXIT\n");