]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
net: introduce NetClientState destructor
authorJason Wang <jasowang@redhat.com>
Wed, 30 Jan 2013 11:12:27 +0000 (19:12 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 Feb 2013 17:03:01 +0000 (11:03 -0600)
commitf7860455fd582b171e526b4b4647b9b9c9a3e703
tree648b3fb676ff493f49fb3dddd181687777f81562
parent18a1541a8da40271056aab99100bdc38283c42ac
net: introduce NetClientState destructor

To allow allocating an array of NetClientState and free it once, this patch
introduces destructor of NetClientState. Which could do type specific free,
which could be used by multiqueue to free the array once.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
include/net/net.h
net/net.c