mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-04 14:07:42 +00:00
revert to use of g_free to make future qemu integrations easier (#695)
* revert to use of g_free to make future qemu integrations easier * bracing
This commit is contained in:
parent
6a2eb14ff3
commit
fccbcfd4c2
48 changed files with 224 additions and 219 deletions
|
|
@ -34,7 +34,7 @@ struct StringInputVisitor
|
|||
|
||||
static void free_range(void *range, void *dummy)
|
||||
{
|
||||
free(range);
|
||||
g_free(range);
|
||||
}
|
||||
|
||||
static void parse_str(StringInputVisitor *siv, Error **errp)
|
||||
|
|
@ -321,7 +321,7 @@ void string_input_visitor_cleanup(StringInputVisitor *v)
|
|||
{
|
||||
g_list_foreach(v->ranges, free_range, NULL);
|
||||
g_list_free(v->ranges);
|
||||
free(v);
|
||||
g_free(v);
|
||||
}
|
||||
|
||||
StringInputVisitor *string_input_visitor_new(const char *str)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue