* krb5_encode.c (krb5_cleanup): If asn1buf_destroy fails, don't
authorMark Eichin <eichin@mit.edu>
Mon, 2 Oct 1995 19:22:43 +0000 (19:22 +0000)
committerMark Eichin <eichin@mit.edu>
Mon, 2 Oct 1995 19:22:43 +0000 (19:22 +0000)
call it again. (Not that it can ever fail anyhow.)

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

src/lib/krb5/asn.1/ChangeLog
src/lib/krb5/asn.1/krb5_encode.c

index 0acc7993cbb5bf3159812908874460de517abc63..76b523564a0a7f972690833edbebe03d4ed13c7a 100644 (file)
@@ -1,3 +1,8 @@
+Thu Sep 28 23:35:06 1995  Mark W. Eichin  <eichin@cygnus.com>
+
+       * krb5_encode.c (krb5_cleanup): If asn1buf_destroy fails, don't
+       call it again. (Not that it can ever fail anyhow.)
+
 Tue Sep 26 19:59:56 1995    <tytso@rsts-11.mit.edu>
 
        * krb5_decode.c: Systematic rework of all the cleanup code to make
index d8223b09250d620cfd21239f12af13d0265fc565..3411c898d3f9cf3e6d51809fe45951cda198ae98 100644 (file)
     return retval; }\
   retval = asn1buf_destroy(&buf);\
   if(retval){\
-    asn1buf_destroy(&buf);\
     return retval; }\
 \
   return 0