mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 01:02:39 +08: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:
@@ -957,13 +957,14 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
mpi_enc_test_help();
|
mpi_enc_test_help();
|
||||||
return ret;
|
goto DONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
mpi_enc_test_cmd_show_opt(cmd);
|
mpi_enc_test_cmd_show_opt(cmd);
|
||||||
|
|
||||||
ret = mpi_enc_test(cmd);
|
ret = mpi_enc_test(cmd);
|
||||||
|
|
||||||
|
DONE:
|
||||||
mpi_enc_test_cmd_put(cmd);
|
mpi_enc_test_cmd_put(cmd);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user