]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[libesl] Coverity 1395572 Logically dead code
authorAndrey Volk <andywolk@gmail.com>
Fri, 31 Jan 2025 14:44:33 +0000 (17:44 +0300)
committerAndrey Volk <andywolk@gmail.com>
Mon, 3 Feb 2025 23:18:47 +0000 (02:18 +0300)
libs/esl/src/cJSON.c

index 1f092ea8f94df57caa464d5b0d824efcaac26048..9287f846941c2893751ec96593814f89ca09c732 100644 (file)
@@ -1147,11 +1147,6 @@ fail:
         hooks->deallocate(buffer->buffer);
     }
 
-    if (printed != NULL)
-    {
-        hooks->deallocate(printed);
-    }
-
     return NULL;
 }