Mercurial > hg > nginx-quic
view auto/lib/libatomic/make @ 7974: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 | 9b3bbaddb1ef |
children |
line wrap: on
line source
# Copyright (C) Igor Sysoev # Copyright (C) Nginx, Inc. cat << END >> $NGX_MAKEFILE $NGX_LIBATOMIC/src/libatomic_ops.a: $NGX_LIBATOMIC/Makefile cd $NGX_LIBATOMIC && \$(MAKE) $NGX_LIBATOMIC/Makefile: $NGX_MAKEFILE cd $NGX_LIBATOMIC \\ && if [ -f Makefile ]; then \$(MAKE) distclean; fi \\ && ./configure END