mariadb/os
calvin ad51dcb5af branches/zip: fix Mantis issue #74 Memory leak on Windows
The memory leak was due to wrong parameters passed into VirtualFree()
call. So, the call fails with Windows error 87. MEM_DECOMMIT can NOT be
used along with MEM_RELEASE. And if the parameter is MEM_RELEASE, the
size parameter must be 0. The function frees the entire region that is
reserved in the initial allocation call to VirtualAlloc.

This issue was introduced by r984.

Approved by:	Heikki (on IM)
2008-09-19 14:46:46 +00:00
..
os0file.c branches/zip: Merge 2437:2485 from branches/5.1: 2008-06-06 15:24:58 +00:00
os0proc.c branches/zip: fix Mantis issue #74 Memory leak on Windows 2008-09-19 14:46:46 +00:00
os0sync.c branches/zip: Always display a newline after ut_print_buf(stderr, ...). 2008-08-06 08:10:21 +00:00
os0thread.c branches/zip: Remove the unused function os_thread_join(). 2008-02-18 19:14:09 +00:00