Add back use of shared_ptr<char> as the error with Electric Fence occurs with strdup()/free() anyway, so it must be the use of