Permalink
Browse files

Free lines.

  • Loading branch information...
theory committed Jan 25, 2013
1 parent d8ab8de commit d94ad0b3818761c8aeea88db08bcba77386051cd
Showing with 1 addition and 0 deletions.
  1. +1 −0 main.c
View
1 main.c
@@ -71,6 +71,7 @@ int main(int argc, char** argv) {
printf("> ");
while ( line = get_stdin_line() ) {
parse(line);
+ free(line);
printf("> ");
}
return 0;

0 comments on commit d94ad0b

Please sign in to comment.