winegdb: Fix crash in empty first command
eric.pouech at wanadoo.fr
Fri Mar 10 14:41:16 CST 2006
Vitor T. Sessak wrote:
> 2006/3/7, Eric Pouech
>> 2006/3/6, Vitor T. Sessak <vitor.sessak at m4x.org
> />>/ Changelog:
> />>/ winegdb: Fix crash in empty first command
> />>/ Winedbg crashes when pressing enter as its first command.
>> this is wrong as the last_line will be HeapFree'd when the next
>> command is
>> keyed in.
> You are right. I've changed it and fixed the FIXME too.
your new code leaks the lines (you never free them)
More information about the wine-devel