« Previous | Next » 

Revision 845f85fa

ID845f85fa1597c72609bd10a37b9586b445c13d49

Added by Amit Shah over 12 years ago

virtio: Plug memleak by freeing vdev

virtio_common_init() allocates RAM for the vdev struct (and any
additional memory, depending on the size passed to the function). This
memory wasn't being freed until now.

Signed-off-by: Amit Shah <>
Signed-off-by: Michael S. Tsirkin <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences