diff options
Diffstat (limited to 'libnetdata/aral/aral.c')
-rw-r--r-- | libnetdata/aral/aral.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libnetdata/aral/aral.c b/libnetdata/aral/aral.c index 2a4b0687dd..60fe5e39a7 100644 --- a/libnetdata/aral/aral.c +++ b/libnetdata/aral/aral.c @@ -885,10 +885,10 @@ void aral_by_size_release(ARAL *ar) { fatal("ARAL BY SIZE: double release detected"); aral_by_size_globals.array[size].refcount--; - if(!aral_by_size_globals.array[size].refcount) { - aral_destroy(aral_by_size_globals.array[size].ar); - aral_by_size_globals.array[size].ar = NULL; - } +// if(!aral_by_size_globals.array[size].refcount) { +// aral_destroy(aral_by_size_globals.array[size].ar); +// aral_by_size_globals.array[size].ar = NULL; +// } netdata_spinlock_unlock(&aral_by_size_globals.spinlock); } |