diff --git a/bin/pgut/pgut-fe.c b/bin/pgut/pgut-fe.c index bcea19f..c7f888c 100644 --- a/bin/pgut/pgut-fe.c +++ b/bin/pgut/pgut-fe.c @@ -77,6 +77,11 @@ disconnect(void) pgut_disconnect(connection); connection = NULL; } + if (conn2) + { + pgut_disconnect(conn2); + conn2 = NULL; + } } static void