From 7359843a4b0ed053aaa4cb5cc4337e821e83a1a1 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Sun, 03 Jun 2018 20:03:16 +0000
Subject: [PATCH] Store wrong annotations to the file: bad_labels.list

---
 src/layer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/layer.c b/src/layer.c
index 582cbb3..3b47917 100644
--- a/src/layer.c
+++ b/src/layer.c
@@ -11,6 +11,7 @@
 #endif
 		return;
 	}
+	if (l.mask)               free(l.mask);
 	if (l.cweights)           free(l.cweights);
 	if (l.indexes)            free(l.indexes);
 	if (l.input_layers)       free(l.input_layers);

--
Gitblit v1.10.0