Skip to content

Commit ca34056

Browse files
committed
delete res as well
1 parent ebcbfdc commit ca34056

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

connection.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,16 +1085,13 @@ LIBPQ_CC_connect(ConnectionClass *self, char *salt_para)
10851085
{
10861086
int ret;
10871087
CSTR func = "LIBPQ_CC_connect";
1088-
QResultClass *res;
1089-
10901088
MYLOG(0, "entering...\n");
10911089

10921090
if (0 == CC_initial_log(self, func))
10931091
return 0;
10941092

10951093
if (ret = LIBPQ_connect(self), ret <= 0)
10961094
return ret;
1097-
QR_Destructor(res);
10981095

10991096
return ret;
11001097
}

0 commit comments

Comments
 (0)