diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2017-03-20 10:34:47 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2017-03-20 10:34:47 +0900 |
commit | c14c654f00e84f0df5b2f739702d3146c4459d8a (patch) | |
tree | 3a6ce8618ed69c4ffd28844c2ae02a01d07d6468 | |
parent | 59207aabc7c014f91eb4a8c7e55192d7153993fd (diff) | |
download | bluez-submit/tizen_3.0/20170320.014016.tar.gz bluez-submit/tizen_3.0/20170320.014016.tar.bz2 bluez-submit/tizen_3.0/20170320.014016.zip |
Fix the svace issue (184088)submit/tizen_3.0/20170320.014016
Change-Id: I43008203c23fc5e29f5cad64ddf3dcf328b68afa
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r-- | tools/hcidump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/hcidump.c b/tools/hcidump.c index b460daa3..c98d60b9 100644 --- a/tools/hcidump.c +++ b/tools/hcidump.c @@ -298,6 +298,7 @@ static int process_frames(int dev, int sock, int fd, unsigned long flags) len = write_n(fd, buf, frm.data_len + hdr_size); if (len < 0) { perror("Write error"); + close(fd); return -1; } written += len; |