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:
Diffstat (limited to 'source/blender/python/api2_2x/BGL.c')
-rw-r--r--source/blender/python/api2_2x/BGL.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/python/api2_2x/BGL.c b/source/blender/python/api2_2x/BGL.c
index c8d73c37042..28adb0c9564 100644
--- a/source/blender/python/api2_2x/BGL.c
+++ b/source/blender/python/api2_2x/BGL.c
@@ -283,14 +283,14 @@ static int Buffer_ass_slice(PyObject *self, int begin, int end, PyObject *seq)
static void Buffer_dealloc(PyObject *self)
{
- Buffer *buf= (Buffer *) self;
+ Buffer *buf = (Buffer *)self;
- if (buf->parent) Py_DECREF(buf->parent);
- else MEM_freeN(buf->buf.asvoid);
+ if (buf->parent) Py_DECREF (buf->parent);
+ else MEM_freeN (buf->buf.asvoid);
- MEM_freeN(buf->dimensions);
+ MEM_freeN (buf->dimensions);
- PyMem_DEL(self);
+ PyObject_DEL (self);
}
static PyObject *Buffer_tolist(PyObject *self)