| author | Caolán McNamara <caolanm@redhat.com> | 2012-08-08 09:50:31 (GMT) |
|---|---|---|
| committer | Caolán McNamara <caolanm@redhat.com> | 2012-08-08 11:28:32 (GMT) |
| commit | 74886eb9ac87f33bee6df4876a65cf62337550dd (patch) (side-by-side diff) | |
| tree | d7a1a9b9801745ad9e7c26dffd989cb4a73e22c3 | |
| parent | b10a5e4c3c3e0c95abd1f8b3d102c506b7e54c29 (diff) | |
| download | core-74886eb9ac87f33bee6df4876a65cf62337550dd.zip core-74886eb9ac87f33bee6df4876a65cf62337550dd.tar.gz | |
mpPostYieldListeners dtor never called
Change-Id: I5d39910647288988363751cd53f1dce6781450b1
| -rwxr-xr-x | unusedcode.easy | 1 | ||||
| -rw-r--r-- | vcl/source/app/svmain.cxx | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/unusedcode.easy b/unusedcode.easy index b0b79a2..5188d8f 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -40,7 +40,6 @@ ThumbnailViewItemAcc::getImplementation(com::sun::star::uno::Reference<com::sun: TransferableDataHelper::GetInterface(com::sun::star::datatransfer::DataFlavor const&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface>&) VCLXPrinterServer::getImplementationId() VCLXPrinterServer::getTypes() -VclEventListeners2::~VclEventListeners2() ViewShell::getIDocumentFieldsAccess() const VirtualDevice::SetOutputSizePixelScaleOffsetAndBuffer(Size const&, Fraction const&, Point const&, boost::shared_array<unsigned char> const&) Window::PostUserEvent(unsigned long&, unsigned long, void*) diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index 7570855..0bcdb64 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -549,6 +549,11 @@ void DeInitVCL() delete pSVData->maAppData.mpKeyListeners; pSVData->maAppData.mpKeyListeners = NULL; } + if ( pSVData->maAppData.mpPostYieldListeners ) + { + delete pSVData->maAppData.mpPostYieldListeners; + pSVData->maAppData.mpPostYieldListeners = NULL; + } if ( pSVData->maAppData.mpFirstHotKey ) ImplFreeHotKeyData(); |
