fixed error in create_args function
authorgu.martinm@gmail.com <gu.martinm@gmail.com>
Mon, 17 Mar 2014 09:26:48 +0000 (10:26 +0100)
committergu.martinm@gmail.com <gu.martinm@gmail.com>
Mon, 17 Mar 2014 09:26:48 +0000 (10:26 +0100)
Daemon/javafork.c

index 9a23807..fb23f24 100644 (file)
@@ -864,8 +864,8 @@ char** create_args(char *command)
         token = strtok(NULL, delim);
     }
 
-end:
     args[args_count] = NULL;
+end:
     return args;
 err:
     /*Release memory.*/