Merge branch 'develop' into 'develop'

Fix for #276



See merge request !30
This commit is contained in:
Daniel Kochmański 2016-08-19 14:02:55 +00:00
commit 77a5583cde

View file

@ -201,7 +201,7 @@ _ecl_dealloc_env(cl_env_ptr env)
ecl_internal_error("Unable to deallocate environment structure.");
#else
# if defined(ECL_USE_GUARD_PAGE)
if (!VirtualFree(env, sizeof(*env), MEM_RELEASE))
if (!VirtualFree(env, 0, MEM_RELEASE))
ecl_internal_error("Unable to deallocate environment structure.");
# endif
#endif