diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-07-02 09:13:09 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-07-02 09:13:09 +0000 |
commit | 5b265e389d6bf31bc73e640b1a9c0b259e7c4223 (patch) | |
tree | c7f1b3fef9055c31ff01b2cd07dc955c355b2179 /vcl/unx/kde/kdedata.cxx | |
parent | f220a0ac7656fa5b93a7f521e29c075e9ea9c3f0 (diff) |
INTEGRATION: CWS vcl90 (1.20.54); FILE MERGED
2008/06/05 12:19:47 pl 1.20.54.1: #158056# workaround crash at exit
Diffstat (limited to 'vcl/unx/kde/kdedata.cxx')
-rw-r--r-- | vcl/unx/kde/kdedata.cxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/vcl/unx/kde/kdedata.cxx b/vcl/unx/kde/kdedata.cxx index 055bc5367ce5..6dae2bd55f33 100644 --- a/vcl/unx/kde/kdedata.cxx +++ b/vcl/unx/kde/kdedata.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: kdedata.cxx,v $ - * $Revision: 1.20 $ + * $Revision: 1.21 $ * * This file is part of OpenOffice.org. * @@ -101,8 +101,17 @@ SalKDEDisplay::~SalKDEDisplay() KDEXLib::~KDEXLib() { + // #158056# on 64 bit linux using libXRandr.so.2 will crash in + // XCloseDisplay when freeing extension data + // no known work around, therefor currently leak. Hopefully + // this does not make problems since we're shutting down anyway + // should we ever get a real kde plugin that uses the KDE event loop + // we should use kde's method to signal screen changes similar + // to the gtk plugin + #if ! defined USE_RANDR || ! (defined LINUX && defined X86_64) // properly deinitialize KApplication delete (VCLKDEApplication*)m_pApplication; + #endif // free the faked cmdline arguments no longer needed by KApplication for( int i = 0; i < m_nFakeCmdLineArgs; i++ ) free( m_pFreeCmdLineArgs[i] ); |