summaryrefslogtreecommitdiff
path: root/src/ipa/vimc/vimc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/vimc/vimc.cpp')
-rw-r--r--src/ipa/vimc/vimc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipa/vimc/vimc.cpp b/src/ipa/vimc/vimc.cpp
index ef257762..372a15f5 100644
--- a/src/ipa/vimc/vimc.cpp
+++ b/src/ipa/vimc/vimc.cpp
@@ -61,7 +61,7 @@ IPAVimc::IPAVimc()
IPAVimc::~IPAVimc()
{
- if (fd_)
+ if (fd_ != -1)
::close(fd_);
}