[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 2/6] block: Add bdrv_reopen_queue_free()

From: Vladimir Sementsov-Ogievskiy
Subject: Re: [PATCH v5 2/6] block: Add bdrv_reopen_queue_free()
Date: Tue, 6 Jul 2021 16:18:44 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

06.07.2021 14:23, Kevin Wolf wrote:
From: Alberto Garcia<berto@igalia.com>

Move the code to free a BlockReopenQueue to a separate function.
It will be used in a subsequent patch.

[ kwolf: Also free explicit_options and options, and explicitly
   qobject_ref() the value when it continues to be used. This avoids
   memory leaks as we saw them in two recent patches. ]

Hmm, not clear from the context which two patches you mean

Signed-off-by: Alberto Garcia<berto@igalia.com>
Signed-off-by: Kevin Wolf<kwolf@redhat.com>

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

Best regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]