mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-04 16:52:40 +08:00
[mpi_enc_test][mpi_dec_test]: close slt verify file
Change-Id: Id303202846e9e415b0837e73115ce3c93503e608 Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
This commit is contained in:
@@ -721,6 +721,11 @@ MPP_TEST_OUT:
|
||||
data.fp_output = NULL;
|
||||
}
|
||||
|
||||
if (data.fp_verify) {
|
||||
fclose(data.fp_verify);
|
||||
data.fp_verify = NULL;
|
||||
}
|
||||
|
||||
if (cfg) {
|
||||
mpp_dec_cfg_deinit(cfg);
|
||||
cfg = NULL;
|
||||
|
@@ -282,6 +282,10 @@ MPP_RET mt_test_ctx_deinit(MpiEncMtCtxInfo *info)
|
||||
fclose(p->fp_output);
|
||||
p->fp_output = NULL;
|
||||
}
|
||||
if (p->fp_verify) {
|
||||
fclose(p->fp_verify);
|
||||
p->fp_verify = NULL;
|
||||
}
|
||||
|
||||
return MPP_OK;
|
||||
}
|
||||
|
@@ -270,6 +270,10 @@ MPP_RET test_ctx_deinit(MpiEncTestData *p)
|
||||
fclose(p->fp_output);
|
||||
p->fp_output = NULL;
|
||||
}
|
||||
if (p->fp_verify) {
|
||||
fclose(p->fp_verify);
|
||||
p->fp_verify = NULL;
|
||||
}
|
||||
}
|
||||
return MPP_OK;
|
||||
}
|
||||
|
Reference in New Issue
Block a user