From: Iain Patterson Date: Sun, 29 Jun 2014 10:24:36 +0000 (+0100) Subject: Use CloseServiceHandle() on service handles. X-Git-Tag: v2.23~1 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=be6863ff7b79067b0bf6716bfcb022c99cfeec86;hp=be6863ff7b79067b0bf6716bfcb022c99cfeec86;p=nssm.git Use CloseServiceHandle() on service handles. We were incorrectly calling CloseHandle() to close service handles. CloseServiceHandle() is not only for service manager handles and should be used on service handles as well. ---