diff options
author | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 2001-08-23 01:52:02 +0000 |
---|---|---|
committer | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 2001-08-23 01:52:02 +0000 |
commit | 455fc6f9c933a365c165e83e09a12358c28a14b0 (patch) | |
tree | 1def700f51f85ffb228735279cf82a1120cf1b11 /test | |
parent | fe97784f63edd52ee9ef910771fcacad1b125202 (diff) | |
download | libapr-455fc6f9c933a365c165e83e09a12358c28a14b0.tar.gz |
Always close what we open.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/testfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testfile.c b/test/testfile.c index e79bb67bf..3db771677 100644 --- a/test/testfile.c +++ b/test/testfile.c @@ -393,6 +393,7 @@ static int test_read_guts(apr_pool_t *p, const char *fname, apr_int32_t extra_fl if (extra_flags & APR_BUFFERED) { printf("\n skipping apr_file_ungetc() for APR_BUFFERED as it " "doesn't work yet\n"); + apr_file_close(f); return (0); } else { |