diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-25 13:01:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-25 15:06:17 +0000 |
commit | 160e11fed1ebc4df8e3ce0afdb636ef42e5b54fe (patch) | |
tree | 7ddbfdf62ee2f7af1e25631a6281376fc81271d5 /sd | |
parent | cbc84a6599c08e5c79e544212c69c6946d0cdbf0 (diff) |
valgrind: fix leak
since...
commit e94d5233dd7939c54eb52fff456e817cecdf0a4c
Date: Fri Mar 11 06:43:06 2016 +0100
work on sane lifecylce for SfxFilter
which removed "delete pFilter" though it was
pMediumFilter which was in question in this method
Change-Id: I598dd44a8498ebd6b3e63d1c89147bee5ab3bb55
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/docshell/docshel4.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx index b52e1376eb42..697323db60c1 100644 --- a/sd/source/ui/docshell/docshel4.cxx +++ b/sd/source/ui/docshell/docshel4.cxx @@ -642,6 +642,8 @@ bool DrawDocShell::ConvertTo( SfxMedium& rMedium ) bRet = pFilter->Export(); if( !bRet ) mpDoc->SetSwapGraphicsMode( nOldSwapMode ); + + delete pFilter; } } |