« Previous | Next » 

Revision 845f85fa


Added by Amit Shah over 9 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 <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences