On Thu, May 12, 2011 at 12:12 PM, Paolo Bonzini <pbonz...@redhat.com> wrote: > On 05/12/2011 12:38 PM, Kevin Wolf wrote: >>> >>> I don't want to add qemu-img/qemu-io things yet because we don't have >>> a block layer user for coroutines yet. The qcow2 patches should >>> contain these changes. >> >> I hope we won't forget it. A missing atexit isn't a very obvious bug. > > I was going to reply that this atexit is actually useless, since memory is > freed automatically at exit?
It's just for completeness to make tools like valgrind happy. Sure, the kernel will reclaim memory and we're just burning CPU by freeing this stuff ;). Stefan