diff options
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); } |
