Skip to content

Commit

Permalink
mod-docker: fix file-descriptor leak
Browse files Browse the repository at this point in the history
  • Loading branch information
sflow committed Sep 23, 2016
1 parent 3b47261 commit bb4fc5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hsflowd.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: host sFlow daemon
Name: hsflowd
Version: 2.0.4
Release: 5
Release: 6
License: http://sflow.net/license.html
Group: Applications/Internet
URL: http://sflow.net
Expand Down
1 change: 1 addition & 0 deletions src/Linux/mod_docker.c
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ extern "C" {
}
}
}
fclose(procFile);
}
return interfaces;
}
Expand Down

0 comments on commit bb4fc5f

Please sign in to comment.