libctf: mark various args as unused in the !HAVE_MMAP case
[deliverable/binutils-gdb.git] / libctf / ctf-dump.c
index c2ed791eea690cbb0885fa6e0dc23c1f72ce9b2d..82f63c29d007d15a0806fc511642e40c69fd33a9 100644 (file)
@@ -273,7 +273,6 @@ ctf_dump_funcs (ctf_file_t *fp, ctf_dump_state_t *state)
        goto err;
 
       str = ctf_str_append (str, " ");
-      free (bit);
 
       /* Function name.  */
 
@@ -290,6 +289,7 @@ ctf_dump_funcs (ctf_file_t *fp, ctf_dump_state_t *state)
        }
       str = ctf_str_append (str, bit);
       str = ctf_str_append (str, " (");
+      free (bit);
 
       /* Function arguments.  */
 
This page took 0.02372 seconds and 4 git commands to generate.