mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
Fixes a bug introduced by
317378085 ("Tidy code in get_number_terminals(), removing unneeded copying.", 2025-02-25)
This commit is contained in:
@@ -5256,7 +5256,6 @@ int get_number_terminals(char *c)
|
||||
if (strchr(inst, '='))
|
||||
j++;
|
||||
tfree(inst);
|
||||
i++;
|
||||
}
|
||||
if (i == 100)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user