Free dev string on function exit