|
From: | Richard Henderson |
Subject: | Re: [PATCH 03/19] target/riscv: introduce riscv_cpu_add_misa_properties() |
Date: | Mon, 27 Mar 2023 11:43:02 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
On 3/27/23 05:42, Daniel Henrique Barboza wrote:
+ g_autofree char *name = g_strdup_printf("%s", misa_cfg->name); + g_autofree char *desc = g_strdup_printf("%s", misa_cfg->description);
What is the point of this? It would seem that you could simply pass the original string literals to object_property_*.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |