aboutsummaryrefslogtreecommitdiff
path: root/gdb/somread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/somread.c')
-rw-r--r--gdb/somread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/somread.c b/gdb/somread.c
index fb804a3..43cd0fa 100644
--- a/gdb/somread.c
+++ b/gdb/somread.c
@@ -597,7 +597,7 @@ init_import_symbols (struct objfile *objfile)
}
objfile->import_list_size = import_list_size;
- free (string_buffer);
+ xfree (string_buffer);
return import_list_size;
}
@@ -728,7 +728,7 @@ init_export_symbols (struct objfile *objfile)
}
objfile->export_list_size = export_list_size;
- free (string_buffer);
+ xfree (string_buffer);
return export_list_size;
}