Really nice code with the use of pointers... and also memory management... :)
Separate names with a comma.