[RFA] Fix leak of struct call_thread_fsm in call_function_by_hand_dummy.
Tom Tromey
tom@tromey.com
Wed Jan 2 18:54:00 GMT 2019
>>>>> "Philippe" == Philippe Waroquiers <philippe.waroquiers@skynet.be> writes:
Philippe> Fix the leak by similarly doing cleanup/destroy when restoring
Philippe> previous state machine.
Philippe> Tested on debian/amd64, natively and under valgrind.
Philippe> 2019-01-02 Philippe Waroquiers <philippe.waroquiers@skynet.be>
Philippe> * infcall.c (call_function_by_hand_dummy): cleanup/destroy sm
Philippe> in case of call that did not complete.
This is ok. Thanks.
Tom
More information about the Gdb-patches
mailing list