aboutsummaryrefslogtreecommitdiff
path: root/contrib/plugins/drcov.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/plugins/drcov.c')
-rw-r--r--contrib/plugins/drcov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/plugins/drcov.c b/contrib/plugins/drcov.c
index b4a855a..686ae0a 100644
--- a/contrib/plugins/drcov.c
+++ b/contrib/plugins/drcov.c
@@ -148,7 +148,7 @@ int qemu_plugin_install(qemu_plugin_id_t id, const qemu_info_t *info,
int argc, char **argv)
{
for (int i = 0; i < argc; i++) {
- g_autofree char **tokens = g_strsplit(argv[i], "=", 2);
+ g_auto(GStrv) tokens = g_strsplit(argv[i], "=", 2);
if (g_strcmp0(tokens[0], "filename") == 0) {
file_name = g_strdup(tokens[1]);
}