use XNEW and related macros more
[deliverable/binutils-gdb.git] / gas / app.c
index f53e7ce4134af9585d46b57ce02ab579e9ac6c86..c59421c059a564edc7a1b132dffc8df7fe1f7eb9 100644 (file)
--- a/gas/app.c
+++ b/gas/app.c
@@ -249,7 +249,7 @@ app_push (void)
 {
   struct app_save *saved;
 
-  saved = (struct app_save *) xmalloc (sizeof (*saved));
+  saved = XNEW (struct app_save);
   saved->state = state;
   saved->old_state = old_state;
   saved->out_string = out_string;
This page took 0.023884 seconds and 4 git commands to generate.