[Bf-python] fixed memory leak in vector module

Stephen Swaney sswaney at swbell.net
Sun May 16 01:13:37 CEST 2004


In the process of fixing bug #1206 - Oject.getBoundBox returns 
obdata coords, I noticed there was a memory leak in the vector 
module where if the vector constructor had allocated memory on
the python stack, that memory was not being freed when the
vector object was destroyed.

Since it was a small change, I went ahead and fixed it.
If anyone would prefer different variable names or whatever,
feel free to change them.

Regards,
Stephen
-- 
Stephen Swaney			
sswaney at swbell.net



More information about the Bf-python mailing list