Removing spurious free of argv within typemap. All malloc/free pairs were also converted to new/delete.