diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-01 14:30:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-01 21:02:06 +0000 |
commit | 59fc4ae4bd209ebe33872a8610a0b992d68d662b (patch) | |
tree | b7ad5e1f494e6ee9f8025976746d7ae9e8c3209c /lotuswordpro | |
parent | e80d263be87c6bc115a00859507237ea70fb9717 (diff) |
coverity#736401 Resource leak
Change-Id: Ice79f5618bb22d2d22d5033a52732da383ff5643
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwptools.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/lwptools.cxx b/lotuswordpro/source/filter/lwptools.cxx index cd61c4d2f9e1..7015651dc309 100644 --- a/lotuswordpro/source/filter/lwptools.cxx +++ b/lotuswordpro/source/filter/lwptools.cxx @@ -826,7 +826,10 @@ XFTimeStyle* LwpTools::GetSystemTimeStyle() default: { if ((cSymbol>='A' && cSymbol<='Z') || (cSymbol>='a' && cSymbol<='z') ) + { + delete pTimeStyle; return NULL; + } else//TEXT { sal_Unicode buffer[1024]; |