Make program_space::deleted_solibs a vector of std::string
[deliverable/binutils-gdb.git] / gdb / solib.c
index f3eea399e0efc78e1bcc66d32c20287c79587dcc..1c788459381676aa0a16d8bbcfc1882600954c07 100644 (file)
@@ -828,8 +828,7 @@ update_solib_list (int from_tty)
             unloaded before we remove it from GDB's tables.  */
          observer_notify_solib_unloaded (gdb);
 
-         VEC_safe_push (char_ptr, current_program_space->deleted_solibs,
-                        xstrdup (gdb->so_name));
+         current_program_space->deleted_solibs.push_back (gdb->so_name);
 
          *gdb_link = gdb->next;
 
This page took 0.023478 seconds and 4 git commands to generate.