From 5854585d2de067c856b34b5893a4c997e35bcc26 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Fri, 31 Jan 2025 17:44:33 +0300 Subject: [PATCH] [libesl] Coverity 1395572 Logically dead code --- libs/esl/src/cJSON.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libs/esl/src/cJSON.c b/libs/esl/src/cJSON.c index 1f092ea8f9..9287f84694 100644 --- a/libs/esl/src/cJSON.c +++ b/libs/esl/src/cJSON.c @@ -1147,11 +1147,6 @@ fail: hooks->deallocate(buffer->buffer); } - if (printed != NULL) - { - hooks->deallocate(printed); - } - return NULL; }