mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-24 17:01:35 +01:00
At the start of unity_free(), check mem for NULL, and return immediately if it is, so we don't crash in this case. This mimics the behaviour of most free() implementations. Closes #135. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Copyright (c) 2010 James Grenning and Contributed to Unity Project Unity Project - A Test Framework for C Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams [Released under MIT License. Please refer to license.txt for details] This Framework is an optional add-on to Unity. By including unity_framework.h in place of unity.h, you may now work with Unity in a manner similar to CppUTest. This framework adds the concepts of test groups and gives finer control of your tests over the command line.