Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2004-05-16 03:10:37 +0400
committerStephen Swaney <sswaney@centurytel.net>2004-05-16 03:10:37 +0400
commitae20f7a95e818175ea76cf4b93fb413416c10f73 (patch)
treec02b3336083764827bd1725ded42391f1648b95f /source/blender/python/api2_2x/vector.h
parent7b78a57c033d6aa6c6746e3502b9436b69a60cbc (diff)
bugfix: #1206 Object.getBoundBox() was returning obdata coordinates.
fix memory leak in vector module. Memory allocated by vector constructor was not being freed.
Diffstat (limited to 'source/blender/python/api2_2x/vector.h')
-rw-r--r--source/blender/python/api2_2x/vector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/vector.h b/source/blender/python/api2_2x/vector.h
index f8ad164543b..733602f2f12 100644
--- a/source/blender/python/api2_2x/vector.h
+++ b/source/blender/python/api2_2x/vector.h
@@ -57,6 +57,7 @@ typedef struct {
//0 - no coercion
//1 - coerced from int
//2 - coerced from float
+ int delete_pymem; /* do we need to delete the memory vec points at? */
} VectorObject;
//prototypes