zybx Posted August 3, 2019 Report Share Posted August 3, 2019 It seems scv_tr_stream destructor forgets to delete the pointer '_scv_tr_stream_core_p' which is allocated in its constructor. AddressSanitizer could capture this issue. Quote Link to comment Share on other sites More sharing options...
Stephan Gerth Posted August 8, 2019 Report Share Posted August 8, 2019 Can you add delete _scv_tr_stream_core_p; at the end of the scv_tr_stream destructor in scv_tr.cpp, starting at line 736 and report if this solves the issue? Quote Link to comment Share on other sites More sharing options...
zybx Posted August 26, 2019 Author Report Share Posted August 26, 2019 On 8/7/2019 at 10:33 PM, Stephan Gerth said: Can you add delete _scv_tr_stream_core_p; at the end of the scv_tr_stream destructor in scv_tr.cpp, starting at line 736 and report if this solves the issue? Sure. Adding the delete statement solves the issue. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.