fix a problem with FREE3 not being a single statement
authorJohn Kohl <jtkohl@mit.edu>
Mon, 4 Mar 1991 16:38:41 +0000 (16:38 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 4 Mar 1991 16:38:41 +0000 (16:38 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1851 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/rcache/rc_dfl.c

index 07b89ca03936b21c56554212a6a8ade0fbec8b11..c1efcd7df10beb0139a2b7a5d17cc582b444e8aa 100644 (file)
@@ -299,8 +299,8 @@ krb5_rcache id;
  for (;;)
   {
 #define FREE1 FREE(rep);
-#define FREE2 FREE(rep->client); FREE(rep);
-#define FREE3 FREE(rep->server); FREE(rep->client); FREE(rep);
+#define FREE2 {FREE(rep->client); FREE(rep);}
+#define FREE3 {FREE(rep->server); FREE(rep->client); FREE(rep);}
 #define CLOSE krb5_rc_io_close(&t->d);
 
    if (krb5_rc_io_mark(&t->d)) {