commit | a8c4871a2a4ebeeba9f0a612d838330f77a53769 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@gnumonks.org> | Fri Jul 05 14:47:41 2013 +0200 |
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | Fri Jul 05 14:48:24 2013 +0200 |
tree | 59e48b2ae78d2d2c454483a952843e27c6450c9c | |
parent | b948701f8c68be21e0205eaf9e1a86d4fe798300 [diff] |
input: ipa: close descriptor if no accept callback is set Reported by Holger. Reference: CID 1040692
diff --git a/src/input/ipa.c b/src/input/ipa.c index 3c6a507..3abd2b8 100644 --- a/src/input/ipa.c +++ b/src/input/ipa.c
@@ -323,6 +323,8 @@ if (link->accept_cb) link->accept_cb(link, ret); + else + close(ret); return 0; }