Skip to content

Commit 4d1943e

Browse files
authored
Fix a connection leak at SIGINT. (#759)
1 parent 3d50d67 commit 4d1943e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/pg_autoctl/service_monitor.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ monitor_service_run(Monitor *monitor)
295295
}
296296

297297
pgsql_finish(&(monitor->pgsql));
298+
pgsql_finish(&(monitor->notificationClient));
298299

299300
return true;
300301
}

0 commit comments

Comments
 (0)