From c101d98921852663147b4b2598c7c7fcd9f82d2a Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Mon, 20 Sep 2021 15:02:57 -0400 Subject: [PATCH] Modified EFbuild.c to stop generating an error message when an "equiv" statement is encountered in a .ext file when using the "ext2spice short" option. --- VERSION | 2 +- extflat/EFbuild.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index bcefa5ce..efed21a8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.209 +8.3.210 diff --git a/extflat/EFbuild.c b/extflat/EFbuild.c index 4daebb32..2cf3e522 100644 --- a/extflat/EFbuild.c +++ b/extflat/EFbuild.c @@ -499,9 +499,11 @@ efBuildEquiv(def, nodeName1, nodeName2) sdev = DEV_VOLT; for (i = 0; i < 10; i++) argv[i] = zeroarg; + argv[0] = StrDup((char **)NULL, "0.0"); argv[4] = StrDup((char **)NULL, nodeName1); argv[7] = StrDup((char **)NULL, nodeName2); efBuildDevice(def, sdev, "None", &GeoNullRect, 10, argv); + freeMagic(argv[0]); freeMagic(argv[4]); freeMagic(argv[7]); return;