mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
net/filter-rewriter: destroy g_hash_table in colo_rewriter_cleanup
s->connection_track_table forgot to destroy in colo_rewriter_cleanup. Fix it. Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com> Signed-off-by: Zhang Chen <chen.zhang@intel.com> Reviewed-by: Zhang Chen <chen.zhang@intel.com> Reviewed-by: Li Qiang <liq3ea@gmail.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
e87936ea29
commit
b492a4b8ca
1 changed files with 2 additions and 0 deletions
|
@ -381,6 +381,8 @@ static void colo_rewriter_cleanup(NetFilterState *nf)
|
|||
filter_rewriter_flush(nf);
|
||||
g_free(s->incoming_queue);
|
||||
}
|
||||
|
||||
g_hash_table_destroy(s->connection_track_table);
|
||||
}
|
||||
|
||||
static void colo_rewriter_setup(NetFilterState *nf, Error **errp)
|
||||
|
|
Loading…
Reference in a new issue