commit | 6540cee4a9393fe4e235b83ff02fc994f053e225 | [log] [tgz] |
---|---|---|
author | Mike Burrows <m3b@google.com> | Fri Jun 17 08:50:23 2016 -0700 |
committer | Mike Burrows <m3b@google.com> | Mon Jun 20 19:58:28 2016 +0000 |
tree | 780292e0e614916988aeb3b5c6cbc08a73b58536 | |
parent | 89d532a8638427da9b195f0216272ee6063cd7c2 [diff] |
v.io/v23/security: fix context.CancelFunc leaks The context.CancelFunc returned by calls like context.WithCancel() etc, must be called to avoid a memory leak. The leaks aren't not really important in these tests. I'm fixing them mostly to silence the context leak checker, so any output from the context leak checker is worth looking at. Also, it's probably a good thing so that if anyone copies the code style, they'll see that the CancelFunc is called. Change-Id: Ifaa3884f5aa3b59db5cc4ec59047d155fc2bff68
This repository defines the Go APIs of Vanadium.