ref: 103c98aa1de99f0f91e269416fbced9ed07b20ad
parent: 12b211a16bd58ee7e587b0ff59923353ae553abd
author: rodri <rgl@antares-labs.eu>
date: Sun Mar 16 06:26:24 EDT 2025
patch a leak when hitting "endsolid"
--- a/stl.c
+++ b/stl.c
@@ -276,9 +276,10 @@
if(nf < 2){
goto notenough0;
}
- if(nf == 2 && strcmp(f[0], "endsolid") == 0)
+ if(nf == 2 && strcmp(f[0], "endsolid") == 0){
+ free(line);
break;
- else
+ }else
goto repeat;
}