]> git.eshelyaron.com Git - emacs.git/commit
regex-emacs: fix leak on memory allocation failure
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Aug 2020 07:07:08 +0000 (00:07 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Aug 2020 07:20:31 +0000 (00:20 -0700)
commitbd5771ff27dbbb2b09cc7c14f1ac040234285acc
tree3a1fc95feed46fd6557397b92d5c05773c13c294
parent4c0a9754ace421461d648b911da6d5eec49e9a62
regex-emacs: fix leak on memory allocation failure

* src/regex-emacs.c (ENSURE_FAIL_STACK): If the failure
stack cannot be grown, free locally-allocated storage
before returning.
src/regex-emacs.c