Skip to content

Commit

Permalink
Fix a memory leak.
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav-upadhyay committed Jan 1, 2013
1 parent 7e1d691 commit 132aab0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apropos.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ main(int argc, char *argv[])
concat(&correct_query, correct);
else
concat(&correct_query, term);
free(correct);
}

printf("Did you mean %s ?\n", correct_query);
Expand Down

0 comments on commit 132aab0

Please sign in to comment.