Hi, I'm testing latest mailutils from git and I'm getting a crash
(double free) after successful login in this function:

int
gsasl_replace_streams (void *self, void *data)
{
  mu_stream_t *s = data;

  util_set_input (s[0]);
  util_set_output (s[1]);
  free (s);
  util_event_remove (self);
  free (self);
  return 0;
}

Reading some git log suggests mu_list_remove was recently modified to
deallocate memory, maybe it is related?  In that case, it seems the
first 'free' above should be removed.  This solves the problem for me,
but I'm not sure if I introduce a memory leak.

Thanks,
/Simon


_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to