[hackers] [sbase] bc: Remove leftover from c00921a || Roberto E. Vargas Caballero
commit dc8a781c16c467c4540e001721725c6ff444d664
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.net>
AuthorDate: Mon Jan 19 09:42:23 2026 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.net>
CommitDate: Mon Jan 19 09:42:23 2026 +0100
bc: Remove leftover from c00921a
The commit c00921a fixed a segfault happening when no parameters
or auto variables happened, moving the initialization of the
unwind string to the moment when the macro is initialized, but
a dummy initialization remained for every declaration making that
variables were not poped (and of course a memory leak).
diff --git a/bc.y b/bc.y
index ab2a940..65a1148 100644
--- a/bc.y
+++ b/bc.y
_AT_@ -392,7 +392,6 @@ decl(int type, char *list, char *id)
i2 = estrdup(id);
free(id);
- unwind = estrdup("");
if (!list)
list = estrdup("");
Received on Mon Jan 19 2026 - 09:45:11 CET
This archive was generated by hypermail 2.3.0
: Mon Jan 19 2026 - 09:48:33 CET