summaryrefslogtreecommitdiff
path: root/debug/plmon.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-05-11 16:48:44 +0000
committerrodri <rgl@antares-labs.eu>2024-05-11 16:48:44 +0000
commit55ceca8db396829cba474164545c6bcfcc45eea4 (patch)
tree8b5db28b2318998220e7328a3cb6e949ef2b04b9 /debug/plmon.c
parentdd5b68da01f3e5cc820db84ef8bf0acab4ce853f (diff)
download3dee-55ceca8db396829cba474164545c6bcfcc45eea4.tar.gz
3dee-55ceca8db396829cba474164545c6bcfcc45eea4.tar.bz2
3dee-55ceca8db396829cba474164545c6bcfcc45eea4.zip
debug/plmon: close the Biobuf after loading the file.
Diffstat (limited to 'debug/plmon.c')
-rw-r--r--debug/plmon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/plmon.c b/debug/plmon.c
index efe24c0..cf05751 100644
--- a/debug/plmon.c
+++ b/debug/plmon.c
@@ -351,6 +351,7 @@ threadmain(int argc, char *argv[])
continue;
addt(f[0], s);
}
+ Bterm(bin);
if(initdraw(nil, nil, "plmon") < 0)
sysfatal("initdraw: %r");