regcomp: propagate allocation failures
authorSzabolcs Nagy <nsz@port70.net>
Wed, 23 Sep 2015 18:19:34 +0000 (18:19 +0000)
committerRich Felker <dalias@aerifal.cx>
Thu, 24 Sep 2015 06:33:18 +0000 (02:33 -0400)
commit4260dfe1ecc43d92d1e6d30daa0f22bd746d1740
treed9bd71ea879cbf0acd08ae616cd682d663c88f0a
parentb61df2294f662540786f2558f691eba7447ff5ba
regcomp: propagate allocation failures

The error code of an allocating function was not checked in tre_add_tag.
src/regex/regcomp.c