From e426b8353e56d4e751b54a5ebeb4644eef112b8a Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 22 Sep 1993 02:41:59 +0000 Subject: [PATCH] Post decrement should have been predecrement; fixed fencepost error git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2649 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/bld_princ.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/bld_princ.c b/src/lib/krb5/krb/bld_princ.c index 38384ab89..f56fefb0e 100644 --- a/src/lib/krb5/krb/bld_princ.c +++ b/src/lib/krb5/krb/bld_princ.c @@ -81,7 +81,7 @@ va_list ap; sizeof(krb5_data)*(count*2)); if (!p_tmp) { free_out: - while (i-- >= 0) + while (--i >= 0) xfree(data[i].data); xfree(data); xfree(tmpdata); -- 2.26.2