useless malloc removed
This commit is contained in:
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…
Reference in New Issue
Block a user