diff options
author | Ashijeet Acharya <ashijeetacharya@gmail.com> | 2016-11-02 16:10:03 +0530 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-11-11 15:54:55 +0100 |
commit | a1d4e38a8b01a6699355c31867d524f8d4cd480e (patch) | |
tree | 601fd60c1d13fabfd85d18a71d7ea5e3edbfe624 /block/ssh.c | |
parent | 6bbcb76301a72dc80c8d29af13d40bb9a759c9c6 (diff) |
block/nbd: Fix the leaked visitor
This patch frees the leaked visitor in nbd_refresh_filename() and uses
visit_free() to fix it. The leak was introduced by the commit 491d6c7.
Signed-off-by: Ashijeet Acharya <ashijeetacharya@gmail.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/ssh.c')
0 files changed, 0 insertions, 0 deletions