aboutsummaryrefslogtreecommitdiff
path: root/gdb/observer.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/observer.c')
-rw-r--r--gdb/observer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/observer.c b/gdb/observer.c
index 6217c6b..bd7b7ec 100644
--- a/gdb/observer.c
+++ b/gdb/observer.c
@@ -89,9 +89,9 @@ struct observer_list
static struct observer_list *
xalloc_observer_list_node (void)
{
- struct observer_list *node = XMALLOC (struct observer_list);
+ struct observer_list *node = XNEW (struct observer_list);
- node->observer = XMALLOC (struct observer);
+ node->observer = XNEW (struct observer);
return node;
}