diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-02 22:43:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-02 23:19:52 +0100 |
commit | 19a23df7f2dcdba88edd507ddd6d6201f1eeb1bc (patch) | |
tree | 7139adb6e78ba3a69ba21602f645a8ed5571ae47 /lotuswordpro/source/filter/localtime.cxx | |
parent | d820977d6aedc8447d50862751adb61cadf488c9 (diff) |
valgrind: fix some leaks
Diffstat (limited to 'lotuswordpro/source/filter/localtime.cxx')
-rw-r--r-- | lotuswordpro/source/filter/localtime.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/localtime.cxx b/lotuswordpro/source/filter/localtime.cxx index 1eee2bfab2d4..9d25acaa054b 100644 --- a/lotuswordpro/source/filter/localtime.cxx +++ b/lotuswordpro/source/filter/localtime.cxx @@ -185,6 +185,7 @@ bool LtgLocalTime(long rtime,LtTm& rtm) { TimeZone* pLocalZone = TimeZone::createDefault(); long offset = (pLocalZone->getRawOffset())/1000; + delete pLocalZone; long ltime = rtime + offset; return LtgGmTime(ltime,rtm); } |