mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-28 13:12:10 +01:00
move the g_free() from the last commit down
It is needed for the error message...
This commit is contained in:
parent
29babb9fc8
commit
90c49a0654
@ -630,7 +630,6 @@ ast_array_get_pattern (AST **array,
|
||||
merged = pattern_coalesce (pattern, tmp);
|
||||
g_free (pattern);
|
||||
pattern = merged;
|
||||
g_free (tmp);
|
||||
|
||||
if (merged == NULL)
|
||||
/* set coalescence implies pairwise coalescence (i think).
|
||||
@ -669,7 +668,10 @@ ast_array_get_pattern (AST **array,
|
||||
|
||||
j++;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
g_free (tmp);
|
||||
}
|
||||
|
||||
return pattern;
|
||||
|
Loading…
x
Reference in New Issue
Block a user