Introduce and use make_unique_xstrdup
[deliverable/binutils-gdb.git] / gdb / infcmd.c
index 1dfbe2329b7e8649c8c9f4cfdbe7662cb723babe..00b55c828ab83b94141507bfcfa46cf210c39843 100644 (file)
@@ -421,7 +421,7 @@ strip_bg_char (const char *args, int *bg_char_p)
     }
 
   *bg_char_p = 0;
-  return gdb::unique_xmalloc_ptr<char> (xstrdup (args));
+  return make_unique_xstrdup (args);
 }
 
 /* Common actions to take after creating any sort of inferior, by any
This page took 0.022928 seconds and 4 git commands to generate.