move the g_free() from the last commit down

It is needed for the error message...
This commit is contained in:
Ryan Lortie 2010-07-10 17:45:51 -04:00
parent 29babb9fc8
commit 90c49a0654

View File

@ -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;