vector1 does not use a pointer anymore :(
memory leak solved !