replace XMALLOC with XNEW
[deliverable/binutils-gdb.git] / gdb / ser-pipe.c
index 9c5b99b45c980d00a46842994470d18106076392..9568a26c0ee7a3d968851f33c3db2420a86649ba 100644 (file)
@@ -134,7 +134,7 @@ pipe_open (struct serial *scb, const char *name)
   if (err_pdes[1] != -1)
     close (err_pdes[1]);
   /* :end chunk */
-  state = XMALLOC (struct pipe_state);
+  state = XNEW (struct pipe_state);
   state->pid = pid;
   scb->fd = pdes[0];
   scb->error_fd = err_pdes[0];
This page took 0.024827 seconds and 4 git commands to generate.