[Top][All Lists]

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

Re: [Qemu-block] [PATCH] qcow2: Use g_try_realloc() in qcow2_expand_zero

From: Kevin Wolf
Subject: Re: [Qemu-block] [PATCH] qcow2: Use g_try_realloc() in qcow2_expand_zero_clusters()
Date: Fri, 9 Feb 2018 15:55:37 +0100
User-agent: Mutt/1.9.1 (2017-09-22)

Am 09.02.2018 um 15:42 hat Alberto Garcia geschrieben:
> g_realloc() aborts the program if it fails to allocate the required
> amount of memory. We want to detect that scenario and return an error
> instead, so let's use g_try_realloc().
> Signed-off-by: Alberto Garcia <address@hidden>

Thanks, applied to the block branch.


reply via email to

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