Fix inverted statements in m88k_analyze_prologue
[binutils-gdb.git] / gdb / dcache.c
index f87c529cfcd5c7980cda5d0edfcf055d8daad073..f1cabb02aebe2d15f2afd1d550b0a5cad6d0b487 100644 (file)
@@ -444,9 +444,7 @@ dcache_splay_tree_compare (splay_tree_key a, splay_tree_key b)
 DCACHE *
 dcache_init (void)
 {
-  DCACHE *dcache;
-
-  dcache = (DCACHE *) xmalloc (sizeof (*dcache));
+  DCACHE *dcache = XNEW (DCACHE);
 
   dcache->tree = splay_tree_new (dcache_splay_tree_compare,
                                 NULL,