Change gdb_realpath to return a unique_xmalloc_ptr
[deliverable/binutils-gdb.git] / gdb / nto-tdep.c
index f9959ca9e0da7b16cfebed207b4136e08e523d95..0b53c4b9feb23c0db45485c12af51f711ff51228 100644 (file)
@@ -142,7 +142,7 @@ nto_find_and_open_solib (const char *solib, unsigned o_flags,
       if (temp_pathname)
        {
          if (ret >= 0)
-           *temp_pathname = gdb_realpath (arch_path);
+           *temp_pathname = gdb_realpath (arch_path).release ();
          else
            *temp_pathname = NULL;
        }
This page took 0.024701 seconds and 4 git commands to generate.