Cleanup memory leak in test
authorEzra Peisach <epeisach@mit.edu>
Thu, 11 Aug 2011 14:27:32 +0000 (14:27 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 11 Aug 2011 14:27:32 +0000 (14:27 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25094 dc483132-0cff-0310-8789-dd5450dbe970

src/util/support/t_path.c

index 550d748b7969a96bb8e336721eeb0a652ed68609..ebf3bde253ce37ff13383b1c4dbe96c4d2fa4f74 100644 (file)
@@ -170,6 +170,7 @@ main(void)
                    (int)i, joined, ejoined);
            status = 1;
        }
+        free(joined);
     }
 
     for (i = 0; i < sizeof(isabs_tests) / sizeof(*isabs_tests); i++) {