aboutsummaryrefslogtreecommitdiff
path: root/gdb/dcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dcache.c')
-rw-r--r--gdb/dcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dcache.c b/gdb/dcache.c
index ed30eea..cdfe476 100644
--- a/gdb/dcache.c
+++ b/gdb/dcache.c
@@ -435,8 +435,8 @@ dcache_free (DCACHE *dcache)
if (last_cache == dcache)
last_cache = NULL;
- free (dcache->the_cache);
- free (dcache);
+ xfree (dcache->the_cache);
+ xfree (dcache);
}
/* Read or write LEN bytes from inferior memory at MEMADDR, transferring