Replace free() with xfree().
[deliverable/binutils-gdb.git] / gdb / remote.c
index 9b49b970ba756fc68187acff3295efba084ca01f..f88c73c28614d1dfd286598298f71f9c8ca600b7 100644 (file)
@@ -4596,7 +4596,7 @@ compare_sections_command (char *args, int from_tty)
 
       /* be clever; compute the host_crc before waiting for target reply */
       sectdata = xmalloc (size);
-      old_chain = make_cleanup (free, sectdata);
+      old_chain = make_cleanup (xfree, sectdata);
       bfd_get_section_contents (exec_bfd, s, sectdata, 0, size);
       host_crc = crc32 ((unsigned char *) sectdata, size, 0xffffffff);
 
This page took 0.025004 seconds and 4 git commands to generate.