From 84f53a4b05475156b03cbf9177ae190350fa824e Mon Sep 17 00:00:00 2001
From: Adesun <AvenSun@live.com>
Date: Sun, 05 Aug 2018 04:18:27 +0000
Subject: [PATCH] * make regex compatible with new code * fix #777 exceeds Locator.MAXTICKS * set non-interactive backend when OS is not windows * save figure as SVG

---
 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