Commit 622ccfa2 622ccfa2e9a3d07b396aa25d08351147caba43ae by Sergey Poznyakoff

Minor fix.

* mailbox/rfc2047.c (getword): Initialize *pret to NULL after freeing
it.
1 parent d31b2f98
......@@ -51,6 +51,7 @@ getword (char **pret, const char **pstr, int delim)
const char *end = strchr (start, delim);
free (*pret);
*pret = NULL;
if (!end)
return MU_ERR_BAD_2047_INPUT;
len = end - start;
......