cwc: cryptoworks - remove double malloc in the emm code
This commit is contained in:
parent
81c48b1de1
commit
033495993e
1 changed files with 0 additions and 1 deletions
|
@ -1816,7 +1816,6 @@ cwc_emm_cryptoworks(cwc_t *cwc, uint8_t *data, int len)
|
|||
if (cwc->cwc_cryptoworks_emm.shared_emm) {
|
||||
free(cwc->cwc_cryptoworks_emm.shared_emm);
|
||||
cwc->cwc_cryptoworks_emm.shared_len = 0;
|
||||
cwc->cwc_cryptoworks_emm.shared_emm = (uint8_t *)malloc(len);
|
||||
}
|
||||
cwc->cwc_cryptoworks_emm.shared_emm = malloc(len);
|
||||
if (cwc->cwc_cryptoworks_emm.shared_emm) {
|
||||
|
|
Loading…
Add table
Reference in a new issue