Skip to content

Commit

Permalink
Fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
DL6ER committed Mar 17, 2017
1 parent 7b370f5 commit 2829970
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ void process_pihole_log(int file)
// Free allocated memory
free(client);
free(domain);
free(domainwithspaces);
}
else if(strstr(readbuffer,": forwarded") != NULL)
{
Expand Down

0 comments on commit 2829970

Please sign in to comment.