diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2018-08-13 14:56:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-13 14:56:56 -0400 |
| commit | cd22c8ca74597aa27cb11dd28b613d53c0a36abe (patch) | |
| tree | 3e51217c34b49df896e84bf63f80d65a5c5a270d /lib/ferr.c | |
| parent | 5487152318c7f56867a027f7214c849f6fb23e5c (diff) | |
| parent | e8c8f2e064c674d1c0935aaf04091c97e117c62f (diff) | |
Merge pull request #2820 from opensourcerouting/err-prep
remove alloc return value checks + minor babeld cleanup
Diffstat (limited to 'lib/ferr.c')
| -rw-r--r-- | lib/ferr.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/ferr.c b/lib/ferr.c index d315cf843c..45574520a5 100644 --- a/lib/ferr.c +++ b/lib/ferr.c @@ -70,13 +70,6 @@ static ferr_r ferr_set_va(const char *file, int line, const char *func, if (!error) { error = XCALLOC(MTYPE_ERRINFO, sizeof(*error)); - if (!error) { - /* we're screwed */ - zlog_err("out of memory while allocating error info"); - raise(SIGSEGV); - abort(); /* raise() can return, but raise(SIGSEGV) shall - not */ - } pthread_setspecific(errkey, error); } |
