Skip to content

Commit 67c4189

Browse files
committed
defer freeAlloc
1 parent 197fd54 commit 67c4189

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/opampsupervisor/main_windows.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ func run() error {
2727
if err := allocConsole(); err != nil {
2828
return fmt.Errorf("alloc console: %w", err)
2929
}
30+
defer freeConsole()
3031

3132
// No need to supply service name when startup is invoked through
3233
// the Service Control Manager directly.

0 commit comments

Comments
 (0)