Fix CString leak

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>