mirror of https://github.com/AlexeyAB/darknet.git
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:
commit
51d59cf30a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue