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
Describe the bug
filesinkhelper.ipp, function g3::internal::createLogFile, in the failure cause, unique_ptr::release is called instead of unique_ptr::reset, which leaks the allocated std::ofstream object - release returns the internal pointer and sets unique_ptr to nullptr WITHOUT deleting the object (i.e. transfers ownership).
See here for reference.
The text was updated successfully, but these errors were encountered:
Describe the bug
filesinkhelper.ipp, function g3::internal::createLogFile, in the failure cause, unique_ptr::release is called instead of unique_ptr::reset, which leaks the allocated std::ofstream object - release returns the internal pointer and sets unique_ptr to nullptr WITHOUT deleting the object (i.e. transfers ownership).
See here for reference.
The text was updated successfully, but these errors were encountered: