diff options
Diffstat (limited to 'gdb/solib-darwin.c')
-rw-r--r-- | gdb/solib-darwin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-darwin.c b/gdb/solib-darwin.c index ba807a2..e8d4667 100644 --- a/gdb/solib-darwin.c +++ b/gdb/solib-darwin.c @@ -103,7 +103,7 @@ get_darwin_info (void) if (info != NULL) return info; - info = XZALLOC (struct darwin_info); + info = XCNEW (struct darwin_info); set_program_space_data (current_program_space, solib_darwin_pspace_data, info); return info; @@ -304,7 +304,7 @@ darwin_current_sos (void) break; /* Create and fill the new so_list element. */ - dnew = XZALLOC (struct darwin_so_list); + dnew = XCNEW (struct darwin_so_list); new = &dnew->sl; old_chain = make_cleanup (xfree, dnew); |