Peter Xu <[email protected]> writes:

> On Thu, Sep 17, 2026 at 01:08:04PM +0200, Markus Armbruster wrote:
>> > +    } else if (g_str_equal(param, "cpr-exec-command")) {
>> >          g_autofree char **strv = NULL;
>> 
>> Not this patch's doing: initialization looks superfluous.
>
> I do see most of such cases in QEMU we initialize it to NULL.  I think it's
> a good pattern for g_autofree lines so we will never try to free garbage.

Actually necessary for g_autofree.  Ignore me :)


Reply via email to