projects
/
cacao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/mm/cacao-gc/heap.c (heap_alloc_intern) [!NDEBUG]: Added sanity check.
[cacao.git]
/
src
/
vmcore
/
suck.c
diff --git
a/src/vmcore/suck.c
b/src/vmcore/suck.c
index 95c7a94db7023e61532ae774755532c176fe104a..1f3638a550d6ca3c8a0ed7c30f77fb2666e396e7 100644
(file)
--- a/
src/vmcore/suck.c
+++ b/
src/vmcore/suck.c
@@
-22,8
+22,6
@@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: suck.c 8399 2007-08-22 18:24:23Z twisti $
-
*/
*/
@@
-312,12
+310,10
@@
void suck_add_from_property(char *key)
strcat(p, ":");
strcat(p, boot_class_path);
strcat(p, ":");
strcat(p, boot_class_path);
- MFREE(boot_class_path, u1, strlen(boot_class_path));
-
-#if defined(ENABLE_JAVASE)
properties_add("sun.boot.class.path", p);
properties_add("java.boot.class.path", p);
properties_add("sun.boot.class.path", p);
properties_add("java.boot.class.path", p);
-#endif
+
+ MFREE(boot_class_path, char, strlen(boot_class_path));
/* free the memory allocated by scandir */
/* (We use `free` as the memory came from the C library.) */
/* free the memory allocated by scandir */
/* (We use `free` as the memory came from the C library.) */