Commit 1a4e7861 1a4e7861a1c2ddd9119b63ad12a8b1c87c1d127b by Sergey Poznyakoff

(compose_destroy): Do not free outfiles[i], the caller is responsible for that.

1 parent b3f65f77
......@@ -298,13 +298,7 @@ void
compose_destroy (compose_env_t * env)
{
mu_header_destroy (&env->header, NULL);
if (env->outfiles)
{
int i;
for (i = 0; i < env->nfiles; i++)
free (env->outfiles[i]);
free (env->outfiles);
}
free (env->outfiles);
}
static int
......