grafana / grafana/pyroscope

Error: error in code releasing FD

Open
#1,919 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
11.7k
Forks
802
Avg merge
1d 19h
Merged PRs (30d)
80

Description

In lines 184 and 185 of this code, the index of s.perfEventFds is passed in syscall.Close instead of fd
![image](https://user-images.githubusercontent.com/55185837/231688963-157d3168-d1fa-405b-89b9-17616b8241e3.png)
should be changed to:
![image](https://user-images.githubusercontent.com/55185837/231689095-b67cac4c-85ac-4418-90ab-41c9fd10b01d.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.