useless malloc removed

master
karchnu 8 years ago
parent 907b78afaa
commit 808ea78cea

@ -160,7 +160,7 @@ get_tok_to_humanize (char *s, struct fields *f)
int
main (int argc, char *argv[])
{
char *strtmp = malloc(BUFSIZ);
char strtmp[BUFSIZ];
char *delim = NULL; // options
struct fields fields;
@ -188,8 +188,6 @@ main (int argc, char *argv[])
printf("\n");
}
free(strtmp);
free(fields.fields);
if(argc == 2)

Loading…
Cancel
Save