X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fburst.c;h=12d1f9d408b2809eba2671a4590e54919be933ab;hb=refs%2Fheads%2Fpick;hp=119a936a9cd60bb4e012b17bc41b8758641afa7d;hpb=b78007de9802005825390bee71dfce2306b42519;p=mmh diff --git a/uip/burst.c b/uip/burst.c index 119a936..12d1f9d 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -25,6 +25,8 @@ static struct swit switches[] = { { NULL, 0 } }; +char *version=VERSION; + static char delim3[] = "-------"; struct smsg { @@ -88,7 +90,7 @@ main(int argc, char **argv) if (folder) adios(EX_USAGE, NULL, "only one folder at a time!"); else - folder = getcpy(expandfol(cp)); + folder = mh_xstrdup(expandfol(cp)); } else { msgs[msgp++] = cp; } @@ -136,7 +138,7 @@ main(int argc, char **argv) } } - free(smsgs); + mh_free0(&smsgs); context_replace(curfolder, folder); /*