[PATCH 2 of 2] add xslt_root directive

SamB ja.nginx at mailnull.com
Wed Apr 18 20:46:16 UTC 2012


Hi,
  this patch adds xslt_root directive and prefixes files defined with
xslt_stylesheet or xslt_entities
  directives (if file not specified with absolute path) .

  Note: while stealing code from ngx_conf_full_name() for
ngx_http_xslt_filter_full_name() I noticed
           that there is no ngx_pfree() done on original name characted
array (name->data) when
           replaced by newly allocated memory (ngx_conf_file.c:843).
           Question is: is there a memory leak or I should not do it in my
code ?-)

Thanks
  Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20120418/c7380ab8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx-1.1.18-xslt_root.patch
Type: application/octet-stream
Size: 3217 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20120418/c7380ab8/attachment-0001.obj>


More information about the nginx-devel mailing list