Merge pull request #9990 from rlm2002/coverity

Coverity: fix more null derefs
This commit is contained in:
David Garske
2026-03-19 12:32:51 -07:00
committed by GitHub
+1 -1
View File
@@ -37203,7 +37203,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
}