The leak was introduced in commit 94d6a7a7. Signed-off-by: Kevin Wolf <kw...@redhat.com> --- block/nfs.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/block/nfs.c b/block/nfs.c index 55c4e0b..d082783 100644 --- a/block/nfs.c +++ b/block/nfs.c @@ -676,6 +676,7 @@ static int nfs_file_create(const char *url, QemuOpts *opts, Error **errp) ret = nfs_ftruncate(client->context, client->fh, total_size); nfs_client_close(client); out: + QDECREF(options); g_free(client); return ret; } -- 1.8.3.1