Add a stub "free" routine for pterm. Thanks to rjk.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 20 Jan 2003 20:10:07 +0000 (20:10 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 20 Jan 2003 20:10:07 +0000 (20:10 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@2666 cda61777-01e9-0310-a592-d414129be87e

unix/pty.c

index 1c213e8..37f5050 100644 (file)
@@ -519,6 +519,14 @@ static void pty_reconfig(void *handle, Config *cfg)
 }
 
 /*
+ * Stub routine (never called in pterm
+ */
+static void pty_free(void *handle)
+{
+}
+
+
+/*
  * Called to send data down the pty.
  */
 static int pty_send(void *handle, char *buf, int len)
@@ -624,6 +632,7 @@ static int pty_exitcode(void *handle)
 
 Backend pty_backend = {
     pty_init,
+    pty_free,
     pty_reconfig,
     pty_send,
     pty_sendbuffer,