From: Theodore Tso Date: Wed, 22 Sep 1993 02:41:59 +0000 (+0000) Subject: Post decrement should have been predecrement; fixed fencepost error X-Git-Tag: krb5-1.0-beta3~189 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e426b8353e56d4e751b54a5ebeb4644eef112b8a;p=krb5.git Post decrement should have been predecrement; fixed fencepost error git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2649 dc483132-0cff-0310-8789-dd5450dbe970 --- 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);