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

Re: [PATCH v2 01/17] virfdstream: Use g_autofree in virFDStreamThreadDoRead()



On Tue, Jul 07, 2020 at 21:46:19 +0200, Michal Privoznik wrote:
> The buffer that allocated in the virFDStreamThreadDoRead() can be
> automatically freed, or if saved into the message structure it
> can be stolen.
> 
> Signed-off-by: Michal Privoznik <mprivozn redhat com>
> ---
>  src/util/virfdstream.c | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)

Reviewed-by: Peter Krempa <pkrempa redhat com>


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