#include <string.h>
+#include <lib-lib/mem.h>
+
#include "mutt.h"
#include "mutt_socket.h"
#include "mutt_menu.h"
return 0;
bail_ssl:
- mem_free (&ssldata->ssl);
+ p_delete(&ssldata->ssl);
bail_ctx:
- mem_free (&ssldata->ctx);
+ p_delete(&ssldata->ctx);
bail_ssldata:
- mem_free (&ssldata);
+ p_delete(&ssldata);
bail:
return -1;
}
#endif
SSL_free (data->ssl);
SSL_CTX_free (data->ctx);
- mem_free (&conn->sockdata);
+ p_delete(&conn->sockdata);
}
return raw_socket_close (conn);