fixed memory leak with time malloc in jnxlog