diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-05-08 00:22:55 +0200 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-05-08 08:27:08 +0000 |
commit | 039bfd3e517f75cf99eb8eb105d3b83692f6e484 (patch) | |
tree | 1a40431cae8a5c508517e946fc8283a1d34ba670 /rsc | |
parent | 59f96e1736c14575aee7575e73b50e96cf467bb0 (diff) |
coverity#983096: Resource leak
Change-Id: I91c1d505ef0b0eb442bf76e4da66c95fa0e1bb2d
Reviewed-on: https://gerrit.libreoffice.org/3818
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/rscpp/cpp3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rsc/source/rscpp/cpp3.c b/rsc/source/rscpp/cpp3.c index df5a2c7acf70..7dbdef92b3a3 100644 --- a/rsc/source/rscpp/cpp3.c +++ b/rsc/source/rscpp/cpp3.c @@ -194,6 +194,7 @@ int AddInclude( char* pIncStr ) *incend++ = pIncPos; pIncPos = strtok( NULL, ";" ); } + free(pIncEnv); return( 1 ); } |