summaryrefslogtreecommitdiff
path: root/makeform.c
diff options
context:
space:
mode:
Diffstat (limited to 'makeform.c')
-rw-r--r--makeform.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/makeform.c b/makeform.c
index a42905d..7aa8fa5 100644
--- a/makeform.c
+++ b/makeform.c
@@ -115,7 +115,7 @@ parse_name_and_exit_code_list (char *buttonlist, ButtonRecord **brptr)
cp = malloc (len + 1);
if (!cp) {
- (void) free (br);
+ free (br);
return -1;
}
copy = cp;
@@ -164,8 +164,8 @@ parse_name_and_exit_code_list (char *buttonlist, ButtonRecord **brptr)
fprintf (stderr,
"%s: internal error, found extra pairs (should be %d)\n",
ProgramName, shouldfind);
- (void) free (br);
- (void) free (copy);
+ free (br);
+ free (copy);
return -1;
}
@@ -183,8 +183,8 @@ parse_name_and_exit_code_list (char *buttonlist, ButtonRecord **brptr)
if (npairs != shouldfind) {
fprintf (stderr, "%s: internal error found %d instead of %d pairs\n",
ProgramName, npairs, shouldfind);
- (void) free (br);
- (void) free (copy);
+ free (br);
+ free (copy);
return -1;
}