diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-07 16:52:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-08 09:56:22 +0100 |
commit | f6012f6c5d40857ea7a9490da90ae5541d859563 (patch) | |
tree | 8e9ce12e383eea2ec4816deecd8097b0f6510c37 /sd/source/filter | |
parent | e3193eb37a2fa75261746c1bdea836889d71a55f (diff) |
coverity#736452 Resource leak
Change-Id: I7880007562e6706c2a4439fbda3063dc70fe13a3
Diffstat (limited to 'sd/source/filter')
-rw-r--r-- | sd/source/filter/sdpptwrp.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/filter/sdpptwrp.cxx b/sd/source/filter/sdpptwrp.cxx index 52c8f7f6fdb4..a8bebf01c782 100644 --- a/sd/source/filter/sdpptwrp.cxx +++ b/sd/source/filter/sdpptwrp.cxx @@ -116,6 +116,8 @@ bool SdPPTFilter::Import() if ( !bRet ) mrMedium.SetError( SVSTREAM_WRONGVERSION, OSL_LOG_PREFIX ); + + delete pLibrary; } #else bRet = ImportPPT( &mrDocument, *pDocStream, *pStorage, mrMedium ); |