Author: tack
Date: Sat Sep 9 19:57:52 2006
New Revision: 1893
Modified:
trunk/evas/src/evas.c
Log:
Fix memory leak in render
Modified: trunk/evas/src/evas.c
==============================================================================
--- trunk/evas/src/evas.c (original)
+++ trunk/evas/src/evas.c Sat Sep 9 19:57:52 2006
@@ -166,7 +166,9 @@
BENCH_END
for (p = updates; p; p = p->next) {
Evas_Rectangle *r = p->data;
- PyList_Append(list, Py_BuildValue("(iiii)", r->x, r->y, r->w, r->h));
+ PyObject *region = Py_BuildValue("(iiii)", r->x, r->y, r->w, r->h);
+ PyList_Append(list, region);
+ Py_DECREF(region);
}
evas_render_updates_free(updates);
Py_END_ALLOW_THREADS
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog