Update of /cvsroot/pywin32/pywin32/com/win32comext/shell/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26882
Modified Files:
PyIShellView.cpp
Log Message:
Forgot to decref result!
Index: PyIShellView.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/src/PyIShellView.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** PyIShellView.cpp 9 Oct 2003 12:07:12 -0000 1.2
--- PyIShellView.cpp 9 Apr 2004 11:14:16 -0000 1.3
***************
*** 411,414 ****
--- 411,415 ----
// Process the Python results, and convert back to the real params
PyObject_AsFOLDERSETTINGS(result, pfs);
+ Py_DECREF(result);
return PyCom_HandlePythonFailureToCOM(/*pexcepinfo*/);
}
|