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 ...@@ -298,13 +298,7 @@ void
298 compose_destroy (compose_env_t * env) 298 compose_destroy (compose_env_t * env)
299 { 299 {
300 mu_header_destroy (&env->header, NULL); 300 mu_header_destroy (&env->header, NULL);
301 if (env->outfiles)
302 {
303 int i;
304 for (i = 0; i < env->nfiles; i++)
305 free (env->outfiles[i]);
306 free (env->outfiles); 301 free (env->outfiles);
307 }
308 } 302 }
309 303
310 static int 304 static int
......