diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-12 10:15:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-13 08:04:48 +0100 |
commit | 55a754cca0f299b658d99684caa9e15cbdd90cc6 (patch) | |
tree | 99a6f0e9a7ef7050b0815b6afbb86d6d60e40e00 /sd | |
parent | b497655a48f75ef377ac7428ef64bcb3c7bf51e4 (diff) |
Fix memory leak
Change-Id: Icf46bc3c086a8221e08a4bb18e1f64355043cdbb
Diffstat (limited to 'sd')
-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 02b9e39b1e14..f5318b0d6047 100644 --- a/sd/source/filter/sdpptwrp.cxx +++ b/sd/source/filter/sdpptwrp.cxx @@ -109,6 +109,8 @@ bool SdPPTFilter::Import() if ( !bRet ) mrMedium.SetError( SVSTREAM_WRONGVERSION, OSL_LOG_PREFIX ); + pLibrary->release(); //TODO: let it get unloaded? + delete pLibrary; } #else bRet = ImportPPT( &mrDocument, *pDocStream, *pStorage, mrMedium ); |