Signed-off-by: Tomek Grabiec <tgrab...@gmail.com> --- vm/jato.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/vm/jato.c b/vm/jato.c index 946a8ea..6d1ac6b 100644 --- a/vm/jato.c +++ b/vm/jato.c @@ -256,7 +256,9 @@ static void init_system_properties(void) static void init_configurable_system_properties(void) { /* XXX: currently user defined -Djava.class.path=value is overriden. */ - add_system_property_const("java.class.path", get_classpath()); + char *cp = get_classpath(); + add_system_property_const("java.class.path", cp); + free(cp); } static void native_vmsystemproperties_preinit(struct vm_object *p) -- 1.6.0.6 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel