summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2019-04-18 08:13:41 +0200
committeraszlig <aszlig@nix.build>2019-04-18 09:40:13 +0200
commitaf5a3ce4740e78b667994ed444a72bec610b3ec8 (patch)
treea2ea7bb1b9523a9b32a59f93c89fbf1692f4ecc6 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent1da8eec00fbe79301fcd5ce0b091405fc475fab0 (diff)
nginx: Fix memleak in nix-etag patch
The original patch introduced a new "real" variable which gets populated (and allocated) via ngx_realpath(). It's properly freed in error conditions but it won't be freed if ngx_http_set_etag returns successfully. Adding another ngx_free() just before returning fixes that memory leak. I also fixed a small indentation issue along the way. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions