2011-03-04 Michael Snyder <msnyder@vmware.com>
* gdbserver/server.c (queue_stop_reply): Call xmalloc not malloc.
This commit is contained in:
parent
6546fb77b8
commit
cfdee94ab4
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
2011-03-04 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* gdbserver/server.c (queue_stop_reply): Call xmalloc not malloc.
|
||||
|
||||
* xml-syscall.c (syscall_start_syscall): Assert name is non null.
|
||||
|
||||
2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||||
|
|
|
@ -121,7 +121,7 @@ queue_stop_reply (ptid_t ptid, struct target_waitstatus *status)
|
|||
{
|
||||
struct vstop_notif *new_notif;
|
||||
|
||||
new_notif = malloc (sizeof (*new_notif));
|
||||
new_notif = xmalloc (sizeof (*new_notif));
|
||||
new_notif->next = NULL;
|
||||
new_notif->ptid = ptid;
|
||||
new_notif->status = *status;
|
||||
|
|
Loading…
Reference in a new issue