Skip to content

Commit

Permalink
Fix mem leak in StageStats.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed Mar 30, 2018
1 parent dcc9295 commit bd8c6fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/StageStats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ void getMacHash(uint16_t& mac1, uint16_t& mac2)
if (ioctl(sock, SIOCGIFCONF, &conf))
{
assert(0);
close(sock);
return;
}

Expand Down

0 comments on commit bd8c6fd

Please sign in to comment.