more guardedalloc use in C++, also make compositorMutex a static var, was allocated and never freed.

This commit is contained in:
Campbell Barton
2012-06-25 10:35:24 +00:00
parent cc0784c1b9
commit 3c8a4c458b
18 changed files with 93 additions and 33 deletions

View File

@@ -1723,6 +1723,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${PLATFORM_CFLAGS} ${CXX_WARNINGS}")
# better not set includes here but this debugging option is off by default.
if(WITH_CXX_GUARDEDALLOC)
include_directories(${CMAKE_SOURCE_DIR}/intern/guardedalloc)
add_definitions(-DWITH_CXX_GUARDEDALLOC)
endif()
if(WITH_ASSERT_ABORT)