Skip to content
Permalink
Browse files Browse the repository at this point in the history
fixed missing return status test error
  • Loading branch information
objsys committed Aug 12, 2020
1 parent de254ab commit 539851c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util/cbor2json.c
Expand Up @@ -112,6 +112,7 @@ static int cbor2json (OSCTXT* pCborCtxt, OSCTXT* pJsonCtxt)
case OSRTCBOR_UTF8STR: {
OSUTF8CHAR* utf8str;
ret = rtCborDecDynUTF8Str (pCborCtxt, ub, (char**)&utf8str);
if (0 != ret) return LOG_RTERR (pCborCtxt, ret);

ret = rtJsonEncStringValue (pJsonCtxt, utf8str);
rtxMemFreePtr (pCborCtxt, utf8str);
Expand Down

0 comments on commit 539851c

Please sign in to comment.