Hi

On Tue, Jun 21, 2022 at 3:46 PM Peter Maydell <peter.mayd...@linaro.org>
wrote:

> On Tue, 21 Jun 2022 at 09:36, <marcandre.lur...@redhat.com> wrote:
> >
> > From: Marc-André Lureau <marcandre.lur...@redhat.com>
> >
> > Reported by ASAN.
> >
> > Fixes commit cfb34489 ("cutils: add functions for IEC and SI prefixes").
> >
> > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
>
> g_autofree would be neater, but this works, so:
> Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>
>
>
sadly, not really, since you have to call g_free() before new
assignments... (yes it makes me sad too :)


-- 
Marc-André Lureau

Reply via email to