diff --git a/c/human.c b/c/human.c index 457ef00..a61ef74 100644 --- a/c/human.c +++ b/c/human.c @@ -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)