]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nwfilter: Fix double free of pointer
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 19 Mar 2014 17:38:44 +0000 (13:38 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Wed, 19 Mar 2014 17:38:44 +0000 (13:38 -0400)
commit963dcf905c5ee0358d6b0b74b124ff340cbbbd2b
tree7398d03213b12b5fc85d51e693af52e0c8780d9e
parent962abaf53878923ec601c0367a75e658c90af5c1
nwfilter: Fix double free of pointer

https://bugzilla.redhat.com/show_bug.cgi?id=1071181

Commit 49b59a15 fixed one problem but masks another one related to pointer
freeing.

Avoid putting of the virNWFilterSnoopReq once the thread has been started.
It belongs to the thread and the thread will call virNWFilterSnoopReqPut() on it.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
src/nwfilter/nwfilter_dhcpsnoop.c