Free tinfo at end - so program runs with new memory leaks
authorEzra Peisach <epeisach@mit.edu>
Thu, 31 Dec 2009 23:18:16 +0000 (23:18 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 31 Dec 2009 23:18:16 +0000 (23:18 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23559 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/threads/init_ctx.c

index 208104deb9249a2732a0277d6e1e40da72978ab1..162906019e78568b144c0c892af0f0b296146cb2 100644 (file)
@@ -274,5 +274,6 @@ main (int argc, char *argv[])
             100 * total / wallclock / n_threads);
     printf ("Total CPU use per iteration per thread: %Lfms\n",
             1000 * total / n_threads / iter_count);
+    free(tinfo);
     return 0;
 }