diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-02-18 23:58:49 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-02-18 23:58:49 +0300 |
commit | 6c5f63b476ccd2ede41b94360641541f0aa9af38 (patch) | |
tree | a959e7f5897441d90e9e2fcf0cef4fe079d48e28 /source | |
parent | 0f2adc081716da9f6f09608e762056f3143f91d2 (diff) |
Guardedalloc: Add extra logging and checks in MEM_freeN()
We don't like when NULL is send to MEM_freeN(), but there was some
differences between lockfree and guarded allocators:
- Lockfree would have silently crash, in both release and debug modes
- Guarded allocator would have printed error message, abort in debug
but keep working in release build.
This commit makes lockfree allocator behavior to match guarded one.
Diffstat (limited to 'source')
0 files changed, 0 insertions, 0 deletions