]> granicus.if.org Git - neomutt/commitdiff
fix: resource leak - CID 76979
authorRichard Russon <rich@flatcap.org>
Thu, 16 Feb 2017 12:44:54 +0000 (12:44 +0000)
committerRichard Russon <rich@flatcap.org>
Mon, 20 Feb 2017 16:31:03 +0000 (16:31 +0000)
init.c

diff --git a/init.c b/init.c
index bb59e0d3ad30feb6a5f00610ce6b39921682526b..2b0b384026ba1ebc33c0c76a5351960f0636e125 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1154,6 +1154,7 @@ static int parse_group (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err)
            snprintf (err->data, err->dsize, _("%sgroup: warning: bad IDN '%s'.\n"),
                      data == 1 ? "un" : "", estr);
             rfc822_free_address (&addr);
+            FREE(&estr);
            goto bail;
          }
          if (data == MUTT_GROUP)