projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41844b4
)
The test for self being NULL in QR_Destructor() should be the first statement. Curren...
author
Dave Page
<dpage@pgadmin.org>
Fri, 4 Nov 2005 15:03:25 +0000
(15:03 +0000)
committer
Dave Page
<dpage@pgadmin.org>
Fri, 4 Nov 2005 15:03:25 +0000
(15:03 +0000)
qresult.c
patch
|
blob
|
blame
|
history
diff --git
a/qresult.c
b/qresult.c
index 15dcb59e0f4d86c1f43108345cbebb58629b109c..f768182d279ac7a18ed022d2cbe98b0df3052c2d 100644
(file)
--- a/
qresult.c
+++ b/
qresult.c
@@
-144,10
+144,10
@@
QR_Constructor()
void
QR_Destructor(QResultClass *self)
-{
- ConnectionClass *conn = self->conn;
+{
\r
+ if (!self) return;
\r
-
if (!self) retur
n;
+
ConnectionClass *conn = self->con
n;
mylog("QResult: in DESTRUCTOR\n");
/* manual result set tuples */