diff --git a/src/create_pcid.c b/src/create_pcid.c index 3c0db875fe8157b2cb43e08970a2e4f748571e99..c2c429b1d5b3acc488092e8291e9334a052a3e4b 100644 --- a/src/create_pcid.c +++ b/src/create_pcid.c @@ -463,6 +463,8 @@ static int32_t FreeAfterDecodePCID(struct FreeDecodePcidJsonInfo freePcidJsonInf break; case FREE_DECODE_PCID_CONTEXT_OUT: cJSON_Delete(freePcidJsonInfo.sysCapObj); + FreeContextBuffer(freePcidJsonInfo.contextBuffer); + break; default: FreeContextBuffer(freePcidJsonInfo.contextBuffer); }