summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2017-04-11 12:14:47 -0700
committerKevin McCarthy <kevin@8t8.us>2017-04-11 12:14:47 -0700
commit781296c08b5f4c87c29a56bdf68c7fd4be9e429b (patch)
tree011f46d70e16850f9b053bebf1f23b884a60114b
parentb1c1eb2155e5a05f2f228a2475f42aba4a9ef549 (diff)
Fix memleak when attaching files.
-rw-r--r--compose.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compose.c b/compose.c
index aa59506e..bd9716d1 100644
--- a/compose.c
+++ b/compose.c
@@ -714,6 +714,7 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */
mutt_error (_("Unable to attach %s!"), att);
FREE (&idx[idxlen]);
}
+ FREE (&files[i]);
}
FREE (&files);