Fix memory leak by release context at end of test code
authorEzra Peisach <epeisach@mit.edu>
Thu, 30 Jul 2009 01:07:03 +0000 (01:07 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 30 Jul 2009 01:07:03 +0000 (01:07 +0000)
ticket: 6539

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

src/lib/krb5/krb/t_etypes.c

index 648a7eeb1e6c8cf0dea133855de2d14625b450ee..0d89fd0afd6fed7143531c32dc0387b906f66a87 100644 (file)
@@ -196,6 +196,9 @@ main(int argc, char **argv)
             free(list);
         }
     }
+
+    krb5_free_context(ctx);
+
     return 0;
 }