Do not use g_list_free_full
[babeltrace.git] / formats / ctf / ir / visitor.c
index 9b65ed58e62ce29b721dcb3ffc78808f87714a91..704a80488295fdde025083c00f887551cd122524 100644 (file)
@@ -724,7 +724,8 @@ end:
                g_free(name_copy);
        }
        if (path_tokens) {
-               g_list_free_full(path_tokens, free);
+               g_list_foreach(path_tokens, (GFunc) free, NULL);
+               g_list_free(path_tokens);
        }
        return ret;
 error:
This page took 0.025406 seconds and 4 git commands to generate.