diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-04-04 20:13:31 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-04-04 20:13:31 +0200 |
commit | 30c05fe3ddfcbbf60d0088b088fae31dcc512888 (patch) | |
tree | aac7412990b3456828ff83011a820795882ba437 | |
parent | 249ff9a24c5119efa545fe045e99094068ec59f3 (diff) |
kernel: fix memory leak in checkpagerefs() debug function (thanks aiju)
-rw-r--r-- | sys/src/9/port/page.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/9/port/page.c b/sys/src/9/port/page.c index 85406f4af..987f4c312 100644 --- a/sys/src/9/port/page.c +++ b/sys/src/9/port/page.c @@ -440,6 +440,7 @@ checkpagerefs(void) iprint("%lud mistakes found\n", nwrong); unlock(&palloc); splx(s); + free(ref); } void |