replace XMALLOC with XNEW
[deliverable/binutils-gdb.git] / gdb / serial.c
index 99e33ab568c51cff0c179acd515926ddf2501884..c87875fc96b7c415791aebbef194fa1d886072b6 100644 (file)
@@ -211,7 +211,7 @@ serial_open (const char *name)
   if (!ops)
     return NULL;
 
-  scb = XMALLOC (struct serial);
+  scb = XNEW (struct serial);
 
   scb->ops = ops;
 
This page took 0.024149 seconds and 4 git commands to generate.