From ad16414923411683942c21df24bdbda6b32c33b4 Mon Sep 17 00:00:00 2001 From: Juuso Alasuutari Date: Wed, 24 Jun 2020 01:50:45 +0300 Subject: [PATCH] Fix a double free error in train_classifier() introduced by a merge Fixes: 2f6bc9615696a7b081ed700af01c410adb52e3cd Signed-off-by: Juuso Alasuutari --- src/classifier.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/classifier.c b/src/classifier.c index 915be9cd..53680696 100644 --- a/src/classifier.c +++ b/src/classifier.c @@ -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);