view auto/nohave @ 7671:7e0719fb528b

Fixed potential leak of temp pool. In case ngx_hash_add_key() fails, need to goto failed instead of returning, so that temp_pool will be destoryed.
author Eran Kornblau <erankor@gmail.com>
date Mon, 15 Jun 2020 03:58:31 -0400
parents d620f497c50f
children
line wrap: on
line source


# Copyright (C) Igor Sysoev
# Copyright (C) Nginx, Inc.


cat << END >> $NGX_AUTO_CONFIG_H

#ifndef $have
#define $have  0
#endif

END