« Previous | Next » 

Revision 7618be62

ID7618be6230efebab643513eb92fd93c79da36e4d

Added by Stefan Weil about 12 years ago

monitor: Fix memory leak with readline completion

Each string which is shown during readline completion in the QEMU monitor
is allocated dynamically but currently never deallocated.

Add the missing loop which calls g_free for the allocated strings.

Signed-off-by: Stefan Weil <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Luiz Capitulino <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences