gdb/
[binutils-gdb.git] / gdb / addrmap.c
index 0dce2bb77517a3c7db07844498355c83c1f999a8..30ec1ef57b2938d687a02c455ffdcc4eb0361aa3 100644 (file)
@@ -224,8 +224,8 @@ static splay_tree_key
 allocate_key (struct addrmap_mutable *map, CORE_ADDR addr)
 {
   CORE_ADDR *key = obstack_alloc (map->obstack, sizeof (*key));
-  *key = addr;
 
+  *key = addr;
   return (splay_tree_key) key;
 }