Package: fig2dev / 1:3.2.7a-5+deb10u1

32_freelinestorage.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: Thomas Loimer <thomas.loimer@tuwien.ac.at>
Date: Tue, 21 Aug 2018 00:45:48 +0200
Subject: Correctly free line-storage, fix ticket #26
Bug-Debian: https://bugs.debian.org/906743
Bug: https://sourceforge.net/p/mcj/tickets/26/
Origin: https://sourceforge.net/p/mcj/fig2dev/ci/e9d1fd6

--- a/fig2dev/read1_3.c
+++ b/fig2dev/read1_3.c
@@ -369,6 +369,7 @@ read_lineobject(FILE *fp)
 	l->next = NULL;
 	l->points = Point_malloc(p);
 	l->points->next = NULL;
+	l->pic = NULL;
 	l->comments = NULL;
 	n = fscanf(fp, " %d %d %d %lf %d %d %d %d %d %d", &t,
 			&l->style, &l->thickness, &l->style_val,