[pywin32-checkins] pywin32/com/win32com/src oleargs.cpp,1.23,1.24
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <mha...@us...> - 2003-11-02 09:52:55
|
Update of /cvsroot/pywin32/pywin32/com/win32com/src In directory sc8-pr-cvs1:/tmp/cvs-serv3151 Modified Files: oleargs.cpp Log Message: Fix a bug in the safearray code, that testPyCOMTest failed with in 160/161 but due to a bug in the test suite, went unnoticed! Index: oleargs.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/oleargs.cpp,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** oleargs.cpp 24 Oct 2003 04:26:21 -0000 1.23 --- oleargs.cpp 2 Nov 2003 09:52:51 -0000 1.24 *************** *** 495,498 **** --- 495,503 ---- break; } + } else { + // it is a sequence, but has zero items - can't search + // any deeper for another dimension + Py_XDECREF(obItemCheck); + obItemCheck = NULL; } } else { |