diff --git a/host/platform/Windows/src/service.c b/host/platform/Windows/src/service.c index 2f6296e1..3da06b1d 100644 --- a/host/platform/Windows/src/service.c +++ b/host/platform/Windows/src/service.c @@ -176,6 +176,7 @@ bool enablePriv(const char * name) goto fail; } + CloseHandle(hToken); return true; fail: