diff --git a/gosym/pclntab_test.go b/gosym/pclntab_test.go index b8f167b..1a780bf 100644 --- a/gosym/pclntab_test.go +++ b/gosym/pclntab_test.go @@ -208,6 +208,7 @@ func TestPCLine(t *testing.T) { defer endtest() f, tab := crack(pclinetestBinary, t) + defer f.Close() text := f.Section(".text") textdat, err := text.Data() if err != nil {