summaryrefslogtreecommitdiff
path: root/win32/perlhost.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-10-20 22:23:53 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-10-20 22:23:53 +0000
commit7fcdafbdb0bffcc321d3a9c54e5d13442d621313 (patch)
treeb090db0be4d2e3c23bfdac7ced7a0053cd6bb985 /win32/perlhost.h
parent5ed1ec7bdfae87aa5419ee42de2a3f5267b16906 (diff)
downloadperl-7fcdafbdb0bffcc321d3a9c54e5d13442d621313.tar.gz
Fix typos in new locking on MemShared
Make buffers in PerlIOBuf_* in per-thread heap (they are cloned after all...) - seems to make segfaults more deterministic - suspect they are attempt to free() after Interp and Host have gone. p4raw-id: //depot/perlio@12541
Diffstat (limited to 'win32/perlhost.h')
-rw-r--r--win32/perlhost.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/perlhost.h b/win32/perlhost.h
index 268a112071..cd433fde89 100644
--- a/win32/perlhost.h
+++ b/win32/perlhost.h
@@ -78,7 +78,7 @@ public:
void *result;
GetLockShared();
result = m_pVMemShared->Malloc(size);
- FreeLockShared()
+ FreeLockShared();
return result;
};
inline void* ReallocShared(void* ptr, size_t size)
@@ -86,14 +86,14 @@ public:
void *result;
GetLockShared();
result = m_pVMemShared->Realloc(ptr, size);
- FreeLockShared()
+ FreeLockShared();
return result;
};
inline void FreeShared(void* ptr)
{
GetLockShared();
m_pVMemShared->Free(ptr);
- FreeLockShared()
+ FreeLockShared();
};
inline void* CallocShared(size_t num, size_t size)
{