summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-21 09:22:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-21 11:55:11 +0000
commitecc56da366960b642d0a7da1b4a47245243252f8 (patch)
tree455943b59c36654ffd74ca092731b44dd7484afe
parentef076fa1c1aa15d42969c701803564bbc75a0cb0 (diff)
busted loop condition
regression from commit 119873328acd70ca3569c21a0b1fe36277e8bf4c Date: Thu Oct 21 15:34:02 2010 -0500 convert vos/process.hxx and related API Change-Id: I36527a4f0109105b9853a79773b4c92f9bc4e902
-rw-r--r--basic/source/runtime/methods.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 662dcc31416b..f27e77146407 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -3716,10 +3716,9 @@ RTLFUNC(Shell)
osl_freeProcessHandle( pApp );
}
- for(int j = 0; i < nParamCount; i++)
+ for(int j = 0; j < nParamCount; ++j)
{
rtl_uString_release(pParamList[j]);
- pParamList[j] = NULL;
}
delete [] pParamList;