Skip to content

Commit

Permalink
Preventing backtrace due to unneccessary xfree on char* at the end of…
Browse files Browse the repository at this point in the history
… main()
  • Loading branch information
Florian Streibelt authored and rbu committed Apr 1, 2009
1 parent 0d7c094 commit 58605e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions driftnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -803,8 +803,8 @@ int main(int argc, char *argv[]) {
for (C = slots; C < slots + slotsalloc; ++C)
if (*C) connection_delete(*C);
xfree(slots);
if (!tmpdir_specified)
xfree(tmpdir);
// if (!tmpdir_specified)
// xfree(tmpdir);

return 0;
}

0 comments on commit 58605e0

Please sign in to comment.