Simplify REGISTRY cleanup usages
[deliverable/binutils-gdb.git] / gdb / solib-dsbt.c
index 4fe24f82e6e98002642f2a99eea10cbafc436695..4e2091b1f99d30e693aeff5423ec7017179e9c9e 100644 (file)
@@ -166,10 +166,7 @@ static const struct program_space_data *solib_dsbt_pspace_data;
 static void
 dsbt_pspace_data_cleanup (struct program_space *pspace, void *arg)
 {
-  struct dsbt_info *info;
-
-  info = program_space_data (pspace, solib_dsbt_pspace_data);
-  xfree (info);
+  xfree (arg);
 }
 
 /* Get the current dsbt data.  If none is found yet, add it now.  This
This page took 0.023354 seconds and 4 git commands to generate.