Introduce and use make_unique_xstrdup
[deliverable/binutils-gdb.git] / gdb / psymtab.c
index 78a46997ca8397f6444e591aa9ca15b728a57239..6cc7566580abb78bec918e7a8f4cb25545b881e8 100644 (file)
@@ -647,7 +647,7 @@ psymtab_search_name (const char *name)
       break;
     }
 
-  return gdb::unique_xmalloc_ptr<char> (xstrdup (name));
+  return make_unique_xstrdup (name);
 }
 
 /* Look, in partial_symtab PST, for symbol whose natural name is NAME.
This page took 0.02366 seconds and 4 git commands to generate.