diff options
author | Petr Mladek <pmladek@suse.cz> | 2011-04-06 14:07:52 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-04-06 14:07:52 +0200 |
commit | b768aff76204b6e22992a1bea68cc077a985ad3d (patch) | |
tree | 5f80624c8dee40a4696a1b29e60caab977c6e57e /desktop/unx/source | |
parent | 9dc7ed6943470af97d003d76b6bc11724d60c84f (diff) | |
parent | 8eb7fb67ca55e59485b0b983e7faf6a987f9e7ee (diff) |
Merge branch 'libreoffice-3-4' of ssh://git.freedesktop.org/git/libreoffice/libs-core into libreoffice-3-4
Diffstat (limited to 'desktop/unx/source')
-rwxr-xr-x | desktop/unx/source/start.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c index fcb2daf461ab..e81cd6129d0a 100755 --- a/desktop/unx/source/start.c +++ b/desktop/unx/source/start.c @@ -216,12 +216,12 @@ get_app_path( const char *pAppExec ) char pRealPath[PATH_MAX]; rtl_uString *pResult; - char *pPath = strdup( pAppExec ); - pPath = dirname( pPath ); + char *pOrigPath = strdup( pAppExec ); + char *pPath = dirname( pOrigPath ); realpath( pPath, pRealPath ); pResult = charp_to_ustr( pRealPath ); - free( pPath ); + free( pOrigPath ); return pResult; } |