X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_tunnel.c;h=34a578961bffa5ed7825e89cc89768f9a9d48ff3;hp=db5f50eab8e8bd064af26a22bf173d4b1b3c4d72;hb=5e53f9e5f65aa5b3af6f5af9d868403536534afb;hpb=e01486aabea6f0af36933158bd58b9ab03b30add diff --git a/mutt_tunnel.c b/mutt_tunnel.c index db5f50e..34a5789 100644 --- a/mutt_tunnel.c +++ b/mutt_tunnel.c @@ -59,7 +59,7 @@ static int tunnel_socket_open (CONNECTION * conn) int rc; int pin[2], pout[2]; - tunnel = (TUNNEL_DATA *) safe_malloc (sizeof (TUNNEL_DATA)); + tunnel = (TUNNEL_DATA *) mem_malloc (sizeof (TUNNEL_DATA)); conn->sockdata = tunnel; mutt_message (_("Connecting with \"%s\"..."), Tunnel); @@ -129,7 +129,7 @@ static int tunnel_socket_close (CONNECTION * conn) NONULL(mutt_strsysexit(WEXITSTATUS(status)))); mutt_sleep (2); } - FREE (&conn->sockdata); + mem_free (&conn->sockdata); return 0; }