httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1491234 - /httpd/httpd/trunk/modules/metadata/mod_remoteip.c
Date Sun, 09 Jun 2013 16:00:19 GMT
Author: jailletc36
Date: Sun Jun  9 16:00:18 2013
New Revision: 1491234

URL: http://svn.apache.org/r1491234
Log:
Close file in error path.

Modified:
    httpd/httpd/trunk/modules/metadata/mod_remoteip.c

Modified: httpd/httpd/trunk/modules/metadata/mod_remoteip.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/metadata/mod_remoteip.c?rev=1491234&r1=1491233&r2=1491234&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/metadata/mod_remoteip.c (original)
+++ httpd/httpd/trunk/modules/metadata/mod_remoteip.c Sun Jun  9 16:00:18 2013
@@ -203,6 +203,7 @@ static const char *proxylist_read(cmd_pa
             }
             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;



Mime
View raw message