Introduce and use make_unique_xstrdup
[deliverable/binutils-gdb.git] / gdb / fbsd-tdep.c
index cc7c2b7ab2f49946154d505b18ec073f030f5edf..e81c6c99bff254bf63cb0f4e6ccba9dec3947f54 100644 (file)
@@ -1266,7 +1266,7 @@ fbsd_core_vnode_path (struct gdbarch *gdbarch, int fd)
          && bfd_get_signed_32 (core_bfd, descdata + KF_FD) == fd)
        {
          char *path = (char *) descdata + KF_PATH;
-         return gdb::unique_xmalloc_ptr<char> (xstrdup (path));
+         return make_unique_xstrdup (path);
        }
 
       descdata += structsize;
This page took 0.023813 seconds and 4 git commands to generate.