mailcap bug 1113: Don't leak values of duplicate fields
commit534bb38c8a1a608b9bbc444199578a42e590bb2a
authorKalle Olavi Niemitalo <kon@iki.fi>
Sun, 17 Apr 2011 17:06:24 +0000 (17 20:06 +0300)
committerKalle Olavi Niemitalo <Kalle@Pulska.kon.iki.fi>
Sun, 1 May 2011 19:14:55 +0000 (1 22:14 +0300)
treedf9cd2559c70825e1be29d329f292cb7fe6db026
parent450f227ea14e4ce5afa023f2d2c2d4dde4485e76
mailcap bug 1113: Don't leak values of duplicate fields

If a mailcap entry has two test commands or two descriptions,
free the first one before replacing it with the second one.
NEWS
src/mime/backend/mailcap.c