~kevin8t8/mutt

87f5f3f0bf6430f96bb47b00c5d2d507e0c76f79 — Kevin McCarthy 9 days ago 970fbcb + 0266f6e
Merge branch 'stable'
1 files changed, 5 insertions(+), 1 deletions(-)

M lib.c
M lib.c => lib.c +5 -1
@@ 281,10 281,14 @@ char *safe_strncat (char *d, size_t l, const char *s, size_t sl)
}


/* Free *p afterwards to handle the case that *p and s reference the
 * same memory
 */
void mutt_str_replace (char **p, const char *s)
{
  FREE (p);		/* __FREE_CHECKED__ */
  char *tmp = *p;
  *p = safe_strdup (s);
  FREE (&tmp);
}

void mutt_str_adjust (char **p)