shithub: jacksense

Download patch

ref: e01279338dcc326300653ef97ec3f0988952c0b8
parent: eed67adf642ff342fc341eee1b7fdf4d4b54c5d6
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue Nov 17 11:35:04 EST 2020

close that Biobuf

--- a/jacksense.c
+++ b/jacksense.c
@@ -52,6 +52,7 @@
 		if(strcmp(a[3], "fix") == 0 && strcmp(a[6], "speaker") == 0)
 			sp = atoi(a[1]);
 	}
+	Bterm(b);
 	if(sp < 0 || hp < 0){
 		fprint(2, "couldn't detect pins\n");
 		exits("pins");