From cfdee94ab418b8ee1b2e5aba6f9de8fc3771b4fb Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Sat, 5 Mar 2011 00:21:10 +0000 Subject: 2011-03-04 Michael Snyder * gdbserver/server.c (queue_stop_reply): Call xmalloc not malloc. --- gdb/gdbserver/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/gdbserver') diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index 0ddf9de..8a19809 100644 --- a/gdb/gdbserver/server.c +++ b/gdb/gdbserver/server.c @@ -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; -- cgit v1.1