From: Andrey Volk Date: Fri, 31 Jan 2025 14:44:33 +0000 (+0300) Subject: [libesl] Coverity 1395572 Logically dead code X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5854585d2de067c856b34b5893a4c997e35bcc26;p=thirdparty%2Ffreeswitch.git [libesl] Coverity 1395572 Logically dead code --- 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; }