qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] net: reduce the unnecessary memory allocation o


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] net: reduce the unnecessary memory allocation of multiqueue
Date: Fri, 22 Feb 2013 07:18:49 -0600
User-agent: Notmuch/0.13.2+93~ged93d79 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu)

Stefan Hajnoczi <address@hidden> writes:

> On Thu, Feb 21, 2013 at 05:45:57PM +0800, Jason Wang wrote:
>> @@ -1397,6 +1398,7 @@ void virtio_net_exit(VirtIODevice *vdev)
>>  
>>      g_free(n->mac_table.macs);
>>      g_free(n->vlans);
>> +    g_free(n->vqs);
>>  
>>      for (i = 0; i < n->max_queues; i++) {
>>          VirtIONetQueue *q = &n->vqs[i];
>
> Use after free!

Ah, this was it :-)

Regards,

Anthony Liguori




reply via email to

[Prev in Thread] Current Thread [Next in Thread]