mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[mpi_enc_test]: Fix memory leak of test args
Change-Id: Ica87ba3f77eb12e0b36b2ea0d607b4defbea9abb Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
parent
0efed5ddf1
commit
81d4248166
1 changed files with 2 additions and 1 deletions
|
|
@ -957,13 +957,14 @@ int main(int argc, char **argv)
|
|||
|
||||
if (ret) {
|
||||
mpi_enc_test_help();
|
||||
return ret;
|
||||
goto DONE;
|
||||
}
|
||||
|
||||
mpi_enc_test_cmd_show_opt(cmd);
|
||||
|
||||
ret = mpi_enc_test(cmd);
|
||||
|
||||
DONE:
|
||||
mpi_enc_test_cmd_put(cmd);
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue