blender/intern
Lukas Stockner cbaa25eb88 Cycles: Fix two small memory leaks and deduplicate table freeing
This commit makes remove_table skip the freeing if the offset is
already set to invalid - or, if it wasn't, set it to invalid after freeing.

That's what the current code was already doing in the Manager classes,
this change allows them to just call remove without the additional code.

Also, two potential memory leaks where new tables were always allocated
without freeing the old ones are fixed.

Reviewers: sergey, dingto, brecht

Differential Revision: https://developer.blender.org/D1974
2016-05-08 17:44:03 +02:00
..
atomic Fix compilation error on Armel architecture 2016-05-02 09:55:08 +02:00
audaspace Fix warnings reported by MSVC 2016-02-23 09:44:54 +01:00
container Remove SCons building system 2016-01-04 14:20:48 +05:00
cycles Cycles: Fix two small memory leaks and deduplicate table freeing 2016-05-08 17:44:03 +02:00
dualcon Remove SCons building system 2016-01-04 14:20:48 +05:00
eigen Remove SCons building system 2016-01-04 14:20:48 +05:00
elbeem Silence some annoying warnings when doing full build with strict flags 2016-04-22 10:59:15 +02:00
ffmpeg Fix compilation error with FFmpeg and Ubuntu Trusty 2016-02-19 22:05:06 +01:00
ghost Cleanup: warnings. spelling 2016-04-30 04:10:34 +10:00
glew-mx Remove SCons building system 2016-01-04 14:20:48 +05:00
guardedalloc Remove SCons building system 2016-01-04 14:20:48 +05:00
iksolver CMake: add missing headers 2016-04-12 11:22:30 +10:00
itasc Remove SCons building system 2016-01-04 14:20:48 +05:00
libmv Compositor: Speedup movie (un)distortion operation 2016-01-26 11:44:43 +01:00
locale Remove SCons building system 2016-01-04 14:20:48 +05:00
memutil Remove SCons building system 2016-01-04 14:20:48 +05:00
mikktspace Cleanup: warning 2016-03-13 15:15:38 +11:00
moto Fix a few compiler warnings with OS X / clang. 2016-04-17 01:05:50 +02:00
opencolorio Revert "Fix T47869: OpenColorIO Error with unicode path to config file under Windows" 2016-03-23 19:28:16 +01:00
opensubdiv CMake: Remove per-module Werror settings 2016-01-30 00:04:52 +01:00
openvdb Fix T48236: OpenVDB smoke cache glitches out with smokeless flames. 2016-04-22 11:46:02 +02:00
rigidbody Remove SCons building system 2016-01-04 14:20:48 +05:00
smoke Smoke (fire): Move spectrum code from C++ (intern/) to C code (BLI) 2016-01-09 04:48:31 +01:00
string Remove SCons building system 2016-01-04 14:20:48 +05:00
utfconv Remove SCons building system 2016-01-04 14:20:48 +05:00
CMakeLists.txt Implementation of OpenVDB as a possible cache format for smoke 2016-01-23 08:39:40 +01:00