--- inkscape-0.91/src/ui/clipboard.cpp.orig 2016-06-30 00:18:58.613731668 +1000 +++ inkscape-0.91/src/ui/clipboard.cpp 2016-06-30 00:22:11.580657223 +1000 @@ -1402,7 +1402,7 @@ Glib::ustring target; if (atom_name) { - target = Glib::ScopedPtr(atom_name).get(); //This frees the gchar*. + target = Glib::make_unique_ptr_gfree(atom_name).get(); //This frees the gchar*. } listTargets.push_back(target);