diff options
author | jasone <jasone@FreeBSD.org> | 2006-01-19 02:11:05 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2006-01-19 02:11:05 +0000 |
commit | 2622b7ee77832c34459e9c187fca4a209051ca55 (patch) | |
tree | e4fbf10c99476427e83e695d87dbce2e53d0703f /lib/libc/regex/utils.h | |
parent | bf6514997f762d9dd4509ca11d18b81f99ef4b17 (diff) | |
download | FreeBSD-src-2622b7ee77832c34459e9c187fca4a209051ca55.zip FreeBSD-src-2622b7ee77832c34459e9c187fca4a209051ca55.tar.gz |
Return NULL if there is an OOM error during initialization, rather than
allowing the error to be fatal.
Move a label in order to make sure to properly handle errors in malloc(0).
Reported by: Alastair D'Silva, Saneto Takanori
Diffstat (limited to 'lib/libc/regex/utils.h')
0 files changed, 0 insertions, 0 deletions