rendered paste bodyIndex: subversion/tests/libsvn_wc/translate-test.c
===================================================================
--- subversion/tests/libsvn_wc/translate-test.c (revision 17276)
+++ subversion/tests/libsvn_wc/translate-test.c (working copy)
@@ -944,6 +944,7 @@
svn_test_opts_t *opts,
apr_pool_t *pool)
{
+ apr_pool_t subpool = svn_pool_create (pool);
*msg = "keep mixed line endings without repair flag";
if (msg_only)
@@ -951,12 +952,16 @@
SVN_ERR (substitute_and_verify
("mixed_no_repair", NULL, "\n", 0,
- NULL, NULL, NULL, NULL, 1, pool));
+ NULL, NULL, NULL, NULL, 1, subpool));
+ svn_pool_clear (subpool);
+
SVN_ERR (substitute_and_verify
("mixed_no_repair", NULL, "\r\n", 0,
- NULL, NULL, NULL, NULL, 1, pool));
+ NULL, NULL, NULL, NULL, 1, subpool));
+ svn_pool_destroy (subpool);
+
return SVN_NO_ERROR;
}