mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
Move realoc() decl to utils.c. s/realloc()/xrealloc()/.
This commit is contained in:
@@ -780,8 +780,8 @@ insert_thread (int tid, int lid, td_thr_state_e state, td_thr_type_e type)
|
||||
if (threadlist_top >= threadlist_max)
|
||||
{
|
||||
threadlist_max += THREADLIST_ALLOC;
|
||||
threadlist = realloc (threadlist,
|
||||
threadlist_max * sizeof (threadinfo));
|
||||
threadlist = xrealloc (threadlist,
|
||||
threadlist_max * sizeof (threadinfo));
|
||||
if (threadlist == NULL)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user