summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/rscpp/cpp1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rsc/source/rscpp/cpp1.c b/rsc/source/rscpp/cpp1.c
index e6b84025f3e3..9f18dc4456b3 100644
--- a/rsc/source/rscpp/cpp1.c
+++ b/rsc/source/rscpp/cpp1.c
@@ -233,7 +233,7 @@ void InitCpp1()
int MAIN(int argc, char** argv)
{
int i;
- char** useargv;
+ char** useargv = 0;
char** pfargv;
if( nRunde == 0 )
@@ -351,6 +351,8 @@ int MAIN(int argc, char** argv)
if (!eflag)
exit(IO_ERROR);
}
+ if( pfargv )
+ free(pfargv);
return( IO_NORMAL );
}