From ec766fc3f114dd4faaa3add500776a7bae957ba5 Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Tue, 29 May 2018 11:35:32 +0000 Subject: [PATCH] Ignore empty extra lines in train.txt --- 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