|
8 | 8 | *
|
9 | 9 | *
|
10 | 10 | * IDENTIFICATION
|
11 |
| - * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.362 2008/09/22 14:21:44 tgl Exp $ |
| 11 | + * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.363 2008/10/23 16:17:19 mha Exp $ |
12 | 12 | *
|
13 | 13 | *-------------------------------------------------------------------------
|
14 | 14 | */
|
@@ -2014,6 +2014,10 @@ freePGconn(PGconn *conn)
|
2014 | 2014 | #if defined(KRB5)|| defined(ENABLE_GSS)|| defined(ENABLE_SSPI)
|
2015 | 2015 | if (conn->krbsrvname)
|
2016 | 2016 | free(conn->krbsrvname);
|
| 2017 | +#endif |
| 2018 | +#if defined(ENABLE_GSS)&& defined(ENABLE_SSPI) |
| 2019 | +if (conn->gsslib) |
| 2020 | +free(conn->gsslib); |
2017 | 2021 | #endif
|
2018 | 2022 | /* Note that conn->Pfdebug is not ours to close or free */
|
2019 | 2023 | if (conn->last_query)
|
|