This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Fix leak of struct call_thread_fsm in call_function_by_hand_dummy.


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]