[Bf-blender-cvs] [492e457] fluid-mantaflow: memory cleanup for liquid inflow

Sebastián Barschkis noreply at git.blender.org
Thu Jun 2 23:03:48 CEST 2016


Commit: 492e457afaab62e6f56d43ffecfa1917e82c6ced
Author: Sebastián Barschkis
Date:   Mon May 30 01:03:47 2016 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rB492e457afaab62e6f56d43ffecfa1917e82c6ced

memory cleanup for liquid inflow

===================================================================

M	source/blender/blenkernel/intern/smoke.c

===================================================================

diff --git a/source/blender/blenkernel/intern/smoke.c b/source/blender/blenkernel/intern/smoke.c
index b14da0f..29d4ef0 100644
--- a/source/blender/blenkernel/intern/smoke.c
+++ b/source/blender/blenkernel/intern/smoke.c
@@ -1157,6 +1157,8 @@ static void em_freeData(EmissionMap *em)
 		MEM_freeN(em->influence_high);
 	if (em->velocity)
 		MEM_freeN(em->velocity);
+	if (em->inflow)
+		MEM_freeN(em->inflow);
 }
 
 static void em_combineMaps(EmissionMap *output, EmissionMap *em2, int hires_multiplier, int additive, float sample_size)




More information about the Bf-blender-cvs mailing list