You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While searching across code on GitHub I found that this package has a few instances where C.CString is called, but C.free is not called on the result, which causes a memory leak for long-running applications:
I found a memory leak in https://github.com/buildbuddy-io/buildbuddy/pull/2686/files in the way we were calling
C.clonefile
, and was curious if anybody else on GitHub was using the same problematic code pattern.While searching across code on GitHub I found that this package has a few instances where
C.CString
is called, butC.free
is not called on the result, which causes a memory leak for long-running applications:Not sure if this package is still maintained but figured I'd report it.
The text was updated successfully, but these errors were encountered: