mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-28 21:22:11 +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);
|
merged = pattern_coalesce (pattern, tmp);
|
||||||
g_free (pattern);
|
g_free (pattern);
|
||||||
pattern = merged;
|
pattern = merged;
|
||||||
g_free (tmp);
|
|
||||||
|
|
||||||
if (merged == NULL)
|
if (merged == NULL)
|
||||||
/* set coalescence implies pairwise coalescence (i think).
|
/* set coalescence implies pairwise coalescence (i think).
|
||||||
@ -669,7 +668,10 @@ ast_array_get_pattern (AST **array,
|
|||||||
|
|
||||||
j++;
|
j++;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_free (tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
return pattern;
|
return pattern;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user