aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar David G. Quintas <dgq@google.com>2015-07-01 17:16:25 -0700
committerGravatar David G. Quintas <dgq@google.com>2015-07-01 17:16:25 -0700
commit05c97690630640ab41df37858ea23ffce870a509 (patch)
treef6643222721860482cc422133017d88abc66effa /src
parentef558b321f4f65f37d5579648d5ff606128b60e0 (diff)
parentdf26af5f663e297d7c6d9af581352c2feceaa8c0 (diff)
Merge pull request #2285 from ctiller/drip-drip-drip-says-the-bucket
Fix a reference leak
Diffstat (limited to 'src')
-rw-r--r--src/core/iomgr/fd_posix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/iomgr/fd_posix.c b/src/core/iomgr/fd_posix.c
index 1297145d1a..632d2a4609 100644
--- a/src/core/iomgr/fd_posix.c
+++ b/src/core/iomgr/fd_posix.c
@@ -368,6 +368,7 @@ gpr_uint32 grpc_fd_begin_poll(grpc_fd *fd, grpc_pollset *pollset,
watcher->fd = NULL;
watcher->pollset = NULL;
gpr_mu_unlock(&fd->watcher_mu);
+ GRPC_FD_UNREF(fd, "poll");
return 0;
}
/* if there is nobody polling for read, but we need to, then start doing so */