summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--booster/src/booster-fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/booster/src/booster-fd.c b/booster/src/booster-fd.c
index 78cde44ddab..b74bd6fa6e4 100644
--- a/booster/src/booster-fd.c
+++ b/booster/src/booster-fd.c
@@ -286,6 +286,6 @@ booster_fdptr_get (booster_fdtable_t *fdtable, int fd)
void
booster_fdptr_put (fd_t *booster_fd)
{
- if (!booster_fd)
+ if (booster_fd)
fd_unref (booster_fd);
}