|
| From: | Paolo Bonzini |
| Subject: | Re: [PATCH 05/16] vl: introduce object_parse_property_opt |
| Date: | Thu, 14 Nov 2019 10:46:11 +0100 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 14/11/19 09:23, Marc-André Lureau wrote:
>> +{
>> + char *qom_name = g_strdup(name);
> Could use g_autofree, and thus return directly without r.
And avoid a bunch of memory leaks in the rest of the series.
Paolo
| [Prev in Thread] | Current Thread | [Next in Thread] |