replace XZALLOC with XCNEW
[deliverable/binutils-gdb.git] / gdb / dwarf2-frame.c
index 1907128600679197f8b52ae0eaa2e5412be1a3a2..3dcaf27580c4fac0ec45febc7dc638441bb8fb80 100644 (file)
@@ -1045,7 +1045,7 @@ dwarf2_frame_cache (struct frame_info *this_frame, void **this_cache)
   reset_cache_cleanup = make_cleanup (clear_pointer_cleanup, this_cache);
 
   /* Allocate and initialize the frame state.  */
-  fs = XZALLOC (struct dwarf2_frame_state);
+  fs = XCNEW (struct dwarf2_frame_state);
   old_chain = make_cleanup (dwarf2_frame_state_free, fs);
 
   /* Unwind the PC.
This page took 0.023893 seconds and 4 git commands to generate.