Closed shengwen-tw closed 1 year ago
Should we also add destructor functions to clean up the allocated memory (i.e., vnet->priv
and vblk->priv
) explicitly even if the program will only be terminated by pressing Ctrl+A then X?
Should we also add destructor functions to clean up the allocated memory (i.e.,
vnet->priv
andvblk->priv
) explicitly even if the program will only be terminated by pressing Ctrl+A then X?
Yes, you can do it in next pull request(s). Follow the way how kvm-host does.
Thank @shengwen-tw for contributing!
Two adjustments are conducted in this pull request: