diff options
author | Pascal Rapicault | 2015-03-20 01:24:08 +0000 |
---|---|---|
committer | Pascal Rapicault | 2015-03-20 01:24:08 +0000 |
commit | 1de28b5956063383ad6e3d4cdca7383e31e69652 (patch) | |
tree | 555f107a3c4552a43faa94ec18090e86f051ae13 /features | |
parent | 928855baf65bb8ec274da6df18d59fc88d5a6c6e (diff) | |
download | rt.equinox.framework-1de28b5956063383ad6e3d4cdca7383e31e69652.tar.gz rt.equinox.framework-1de28b5956063383ad6e3d4cdca7383e31e69652.tar.xz rt.equinox.framework-1de28b5956063383ad6e3d4cdca7383e31e69652.zip |
Second attempt at fixing crash on Mac restart
Diffstat (limited to 'features')
-rw-r--r-- | features/org.eclipse.equinox.executable.feature/library/eclipseConfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/eclipseConfig.c b/features/org.eclipse.equinox.executable.feature/library/eclipseConfig.c index 4f99ef2ad..afba796a0 100644 --- a/features/org.eclipse.equinox.executable.feature/library/eclipseConfig.c +++ b/features/org.eclipse.equinox.executable.feature/library/eclipseConfig.c @@ -89,8 +89,8 @@ _TCHAR* getIniFile(_TCHAR* program, int consoleLauncher){ bname = basename(basec); config_file = realloc(config_file, strlen(dname) + strlen(bname) + 16 * sizeof(char)); sprintf(config_file, "%s/Eclipse/%s.ini", dname, bname); - free(dname); - free(bname); + free(dirc); + free(basec); #else /* Append the extension */ strcat(config_file, ".ini"); |