diff options
Diffstat (limited to 'gdb/ser-base.c')
-rw-r--r-- | gdb/ser-base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ser-base.c b/gdb/ser-base.c index ae92dfb..b8f7fd2 100644 --- a/gdb/ser-base.c +++ b/gdb/ser-base.c @@ -498,14 +498,14 @@ serial_ttystate ser_base_get_tty_state (struct serial *scb) { /* Allocate a dummy. */ - return (serial_ttystate) XMALLOC (int); + return (serial_ttystate) XNEW (int); } serial_ttystate ser_base_copy_tty_state (struct serial *scb, serial_ttystate ttystate) { /* Allocate another dummy. */ - return (serial_ttystate) XMALLOC (int); + return (serial_ttystate) XNEW (int); } int |