bad free in kprop
authorKen Raeburn <raeburn@mit.edu>
Wed, 6 Aug 2008 15:51:48 +0000 (15:51 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 6 Aug 2008 15:51:48 +0000 (15:51 +0000)
Don't free automatic storage after sending database.

ticket: new
target_version: 1.6.4
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20611 dc483132-0cff-0310-8789-dd5450dbe970

src/slave/kprop.c

index 42bc8fbdab33814eacac45705d239bbacd713a24..164f8aeb8fad12907ef60bf478d47fe539097935 100644 (file)
@@ -684,7 +684,7 @@ xmit_database(context, auth_context, my_creds, fd, database_fd,
                exit(1);
        }
        free(outbuf.data);
-       free(inbuf.data);
+       /* inbuf.data points to local storage */
 }
 
 void