fix more null derefs

This commit is contained in:
Ruby Martin
2026-03-16 17:12:17 -06:00
parent b5c532703a
commit f55afbd5f1
+1 -1
View File
@@ -37201,7 +37201,7 @@ int wc_EccPrivateKeyDecode(const byte* input, word32* inOutIdx, ecc_key* key,
key, curve_id);
}
FREE_ASNGETDATA(dataASN, key->heap);
FREE_ASNGETDATA(dataASN, key != NULL ? key->heap : NULL);
return ret;
#endif
}