summaryrefslogtreecommitdiff
path: root/desktop/unx/source/start.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/unx/source/start.c')
-rw-r--r--desktop/unx/source/start.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c
index f2c6e58db7a1..410c2fd7700f 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 );