Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2015-03-20 01:24:08 +0000
committerPascal Rapicault2015-03-20 01:24:08 +0000
commit1de28b5956063383ad6e3d4cdca7383e31e69652 (patch)
tree555f107a3c4552a43faa94ec18090e86f051ae13
parent928855baf65bb8ec274da6df18d59fc88d5a6c6e (diff)
downloadrt.equinox.framework-1de28b5956063383ad6e3d4cdca7383e31e69652.tar.gz
rt.equinox.framework-1de28b5956063383ad6e3d4cdca7383e31e69652.tar.xz
rt.equinox.framework-1de28b5956063383ad6e3d4cdca7383e31e69652.zip
Second attempt at fixing crash on Mac restart
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/eclipseConfig.c4
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");

Back to the top