Blender Git Commit Log

Git Commits -> Revision 8aff45d

Revision 8aff45d by Mitchell Stokes (master)
November 30, 2013, 02:34 (GMT)
Fix T36804: the property sensor when set to interval was causing a memory leak

The property sensor was using CValue::FindIdentifier(), which does an AddRef(). However,
the property sensor was not calling Release() when it was done with the value. This could
cause more leaks when used in conjunction with the copy property actuator since it would
really throw off ref counts.

Commit Details:

Full Hash: 8aff45d8f671e7eb2f404c8f194e06d88c5147c9
Parent Commit: eba07b7
Lines Changed: +1, -0

1 Modified Path:

/source/gameengine/GameLogic/SCA_PropertySensor.cpp (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021