From 9d387e73b885388a3a1026cd97cfab9d0d1434d5 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 15 Mar 2005 21:58:44 +0000 Subject: * cygtls.cc (_cygtls::remove): Free process_ident, if it exists. * errno.cc (errmap): ERROR_DISK_CORRUPT -> EIO. --- winsup/cygwin/cygtls.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winsup/cygwin/cygtls.cc') diff --git a/winsup/cygwin/cygtls.cc b/winsup/cygwin/cygtls.cc index 47d03b669..817c8e3b1 100644 --- a/winsup/cygwin/cygtls.cc +++ b/winsup/cygwin/cygtls.cc @@ -12,6 +12,7 @@ details. */ #include "assert.h" #include #include +#include #include "exceptions.h" #include "sync.h" #include "cygerrno.h" @@ -158,6 +159,8 @@ _cygtls::remove (DWORD wait) // select to control this themselves if (locals.exitsock != INVALID_SOCKET) closesocket (locals.exitsock); + if (locals.process_ident != NULL) + free (locals.process_ident); do { sentry here (wait); -- cgit v1.2.3