diff options
author | Ken Raeburn <raeburn@mit.edu> | 2008-07-12 01:15:25 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2008-07-12 01:15:25 +0000 |
commit | 6bb6b2a85c97148db10a53167b8a36bb9f1fb97c (patch) | |
tree | e0ac530f5c2237dc6ee604b5237e9db01c516e0d /src/kdc/network.c | |
parent | db8b2c57affd4305b681f301aac63e6b2c56bb2a (diff) | |
download | krb5-6bb6b2a85c97148db10a53167b8a36bb9f1fb97c.tar.gz krb5-6bb6b2a85c97148db10a53167b8a36bb9f1fb97c.tar.xz krb5-6bb6b2a85c97148db10a53167b8a36bb9f1fb97c.zip |
In FREE_SET_DATA, reset the current count as well
ticket: 6019
state: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20514 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc/network.c')
-rw-r--r-- | src/kdc/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kdc/network.c b/src/kdc/network.c index 9db82d08d3..bfb03a9d27 100644 --- a/src/kdc/network.c +++ b/src/kdc/network.c @@ -239,7 +239,7 @@ struct connection { (set.data[idx] = set.data[--set.n], 0) #define FREE_SET_DATA(set) \ - (free(set.data), set.data = 0, set.max = 0) + (free(set.data), set.data = 0, set.max = 0, set.n = 0) /* Set<struct connection *> connections; */ |