Remove last call to strchr( , ':' ) and fix a small memleak.