* citserver.c: patch submitted by matt to keep the client protocol from
authorArt Cancro <ajc@citadel.org>
Sun, 15 Jan 2006 05:00:52 +0000 (05:00 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 15 Jan 2006 05:00:52 +0000 (05:00 +0000)
  getting out of sync following a .h? command.

citadel/ChangeLog
citadel/citserver.c

index 294763e147962a0a32abb6bc72f605057bdc731e..684be24227c264421076dc2d763eb33fcd749a21 100644 (file)
@@ -1,5 +1,9 @@
 $Id$
 
+Sun Jan 15 00:00:13 EST 2006 ajc
+* citserver.c: patch submitted by matt to keep the client protocol from
+  getting out of sync following a .h? command.
+
 Sat Jan 14 23:38:44 EST 2006 ajc
 * setup.c: remove "--backtitle" from calls to "dialog" because its
   availability cannot be depended upon.
index aa366e25f7571faf44f4e38d744ec7e7f8178597..0e0fc71f102f1b6de32f22f8de1ecbf84e30d9e8 100644 (file)
@@ -483,6 +483,9 @@ void cmd_mesg(char *mname)
                        closedir(dp);
                }
                cprintf("000\n");
+               free(dirs[0]);
+               free(dirs[1]);
+               return;
        }
 
        /* Otherwise, look for the requested file by name. */