We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7028c13 commit 501e58bCopy full SHA for 501e58b
src/interfaces/libpq/fe-connect.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.362 2008/09/22 14:21:44 tgl Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.363 2008/10/23 16:17:19 mha Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -2014,6 +2014,10 @@ freePGconn(PGconn *conn)
2014
#if defined(KRB5) || defined(ENABLE_GSS) || defined(ENABLE_SSPI)
2015
if (conn->krbsrvname)
2016
free(conn->krbsrvname);
2017
+#endif
2018
+#if defined(ENABLE_GSS) && defined(ENABLE_SSPI)
2019
+ if (conn->gsslib)
2020
+ free(conn->gsslib);
2021
#endif
2022
/* Note that conn->Pfdebug is not ours to close or free */
2023
if (conn->last_query)
0 commit comments