From d31150b44042083fa11edcdc788b0c60d71367a7 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 29 Sep 2011 17:17:05 -0400 Subject: [PATCH] call_rcu: fix error handling of malloc error Signed-off-by: Mathieu Desnoyers --- urcu-call-rcu-impl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/urcu-call-rcu-impl.h b/urcu-call-rcu-impl.h index d09adb1..29c4e28 100644 --- a/urcu-call-rcu-impl.h +++ b/urcu-call-rcu-impl.h @@ -669,6 +669,7 @@ void free_all_cpu_call_rcu_data(void) fprintf(stderr, "[error] liburcu: unable to allocate per-CPU pointer array\n"); } warned = 1; + return; } for (cpu = 0; cpu < maxcpus; cpu++) { -- 2.34.1