]> Git Repo - qemu.git/commit - hw/virtio/vhost-backend.c
vhost: fix a memory leak
authorPeng Hao <[email protected]>
Tue, 4 Jul 2017 22:33:32 +0000 (06:33 +0800)
committerMichael S. Tsirkin <[email protected]>
Tue, 1 Aug 2017 21:13:25 +0000 (00:13 +0300)
commit08b9e0ba623c4468fe94026a9bdd086526ef62f0
treef710abd9759b3e184c8e3ae80fef88044eacc824
parent2cef91cf4922cb1ade8882c1097966b090467bbb
vhost: fix a memory leak

vhost exists a call for g_file_get_contents, but not call g_free.

Signed-off-by: Peng Hao<[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>
hw/virtio/vhost-backend.c
This page took 0.025079 seconds and 4 git commands to generate.