diff options
Diffstat (limited to 'platform/linux-generic/example/ml/model_explorer.c')
-rw-r--r-- | platform/linux-generic/example/ml/model_explorer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/linux-generic/example/ml/model_explorer.c b/platform/linux-generic/example/ml/model_explorer.c index bd449b032..408b96c03 100644 --- a/platform/linux-generic/example/ml/model_explorer.c +++ b/platform/linux-generic/example/ml/model_explorer.c @@ -73,6 +73,11 @@ int main(int argc, char *argv[]) odp_ml_model_print(ml_model); + if (odp_ml_model_destroy(ml_model)) { + printf("odp_ml_model_destroy failed.\n"); + ret = -1; + } + odp_term: if (odp_term_local()) { printf("Local term failed.\n"); |