[Libreoffice-commits] .: desktop/unx

Stephan Bergmann sbergmann at kemper.freedesktop.org
Tue Mar 20 03:24:21 PDT 2012


 desktop/unx/source/start.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 7b9ea611bea133e758302b99df339439919101ed
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Mar 20 11:22:19 2012 +0100

    Resolves rhbz#804437, do not rtl_uString_release(NULL)
    
    ...in case osl_getProcessWorkingDir fails (e.g., if it has been unlinked).

diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c
index f2c6e58..410c2fd 100644
--- a/desktop/unx/source/start.c
+++ b/desktop/unx/source/start.c
@@ -358,7 +358,10 @@ get_pipe_path( rtl_uString *pAppPath )
     rtl_uString_release( pMd5hash );
     rtl_uString_release( pPath );
     rtl_uString_release( pTmp );
-    rtl_uString_release( pBasePath );
+    if ( pBasePath )
+    {
+        rtl_uString_release( pBasePath );
+    }
     rtl_uString_release( pUserInstallation );
     rtl_uString_release( pAbsUserInstallation );
 


More information about the Libreoffice-commits mailing list