Merge pull request #6051 from imaami/alexeyab-fix-train_classifier-double-free

Fix a double free error in train_classifier() introduced by a merge
This commit is contained in:
Alexey 2020-06-24 02:06:50 +03:00 committed by GitHub
commit 51d59cf30a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -256,7 +256,6 @@ void train_classifier(char *datacfg, char *cfgfile, char *weightfile, int *gpus,
if(labels) free(labels);
free_ptrs((void**)paths, plist->size);
free_list(plist);
free(nets);
free(base);
free_list_contents_kvp(options);