Kaydet (Commit) ef076fa1 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1255390 Resource leak

Change-Id: I3631d6bbcf45986deb1e911fcdb0e6606a0c6d91
üst 4ea17318
...@@ -3722,6 +3722,8 @@ RTLFUNC(Shell) ...@@ -3722,6 +3722,8 @@ RTLFUNC(Shell)
pParamList[j] = NULL; pParamList[j] = NULL;
} }
delete [] pParamList;
if( !bSucc ) if( !bSucc )
{ {
StarBASIC::Error( SbERR_FILE_NOT_FOUND ); StarBASIC::Error( SbERR_FILE_NOT_FOUND );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment