[pywin32-checkins] pywin32/com/win32comext/mapi/src mapiutil.cpp, 1.6, 1.7
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2010-10-23 01:03:30
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/mapi/src In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv4893/com/win32comext/mapi/src Modified Files: mapiutil.cpp Log Message: Fix Python reference leak when creating SRowSet objects Index: mapiutil.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/mapi/src/mapiutil.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** mapiutil.cpp 9 Aug 2008 01:51:39 -0000 1.6 --- mapiutil.cpp 23 Oct 2010 01:03:22 -0000 1.7 *************** *** 632,635 **** --- 632,636 ---- } } + Py_DECREF(rowObject); rowObject = NULL; // important for cleanup } |