summaryrefslogtreecommitdiff
path: root/modules/metadata
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2013-06-09 16:00:18 +0000
committerChristophe Jaillet <jailletc36@apache.org>2013-06-09 16:00:18 +0000
commit23b15cc92aac638da475905c8e36590e9f2a3e94 (patch)
tree05c7a9528d3a1c371570b0d599fc7d6a23e1dd71 /modules/metadata
parent9710c6287f8162bb2ba4b6e9cc242ea2e14574bc (diff)
downloadhttpd-23b15cc92aac638da475905c8e36590e9f2a3e94.tar.gz
Close file in error path.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1491234 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/metadata')
-rw-r--r--modules/metadata/mod_remoteip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/metadata/mod_remoteip.c b/modules/metadata/mod_remoteip.c
index 79aa6a940a..b0af3a3289 100644
--- a/modules/metadata/mod_remoteip.c
+++ b/modules/metadata/mod_remoteip.c
@@ -203,6 +203,7 @@ static const char *proxylist_read(cmd_parms *cmd, void *cfg,
}
errmsg = proxies_set(cmd, cfg, arg);
if (errmsg) {
+ ap_cfg_closefile(cfp);
errmsg = apr_psprintf(cmd->pool, "%s at line %d of %s",
errmsg, cfp->line_number, filename);
return errmsg;