Skip to content

Commit

Permalink
double free
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed Oct 18, 2023
1 parent 2edff5d commit ce6b0e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/js/openenclave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ namespace ccf::js
auto rc1 = JS_SetPropertyStr(ctx, r, "customClaims", js_custom_claims);
if (rc1 < 0)
{
JS_FreeValue(ctx, js_claims);
JS_FreeValue(ctx, js_custom_claims);
JS_FreeValue(ctx, r);
return ccf::js::constants::Exception;
Expand Down

0 comments on commit ce6b0e0

Please sign in to comment.