diff options
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2014-08-22 16:23:51 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-08-24 13:18:28 +0400 |
commit | 680dfde91981516942ec557ef1c27753db24cbe8 (patch) | |
tree | 49a6bfa6bfae42db9d629fc5f500a114f566b7c4 /os-posix.c | |
parent | bcc55f327c571295193880110c048b463bce6677 (diff) |
linux-user: fix file descriptor leaks
Handle variable "fd_orig" going out of scope leaks the handle.
Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'os-posix.c')
0 files changed, 0 insertions, 0 deletions