ngspice/src/osdi
Holger Vogt a754cc187b free(info.errors) leads to a assertion error on the heap.
On Windows it reads:

is_block_type_valid(header->_block_use).

Memory for info.errors is allocated in the osdi device dll
during the call to

      descr->setup_instance((void *)&handle, inst, model, temp,
                            connected_terminals, sim_params, &init_info);

(in fcn OSDIsetup(), line 254 of osdisetup.c).
Therefore ngspice is not the owner of this memory and thus cannot free it.

Fixes bug no. 803.
2025-09-04 00:25:26 +02:00
..
Makefile.am implement osdi noise support 2023-11-04 19:36:30 +01:00
osdi.h implement osdi noise support 2023-11-04 19:36:30 +01:00
osdiacld.c prototype for Verilog-A integration using OSDI and OpenVAF 2022-12-27 13:51:57 +01:00
osdicallbacks.c Fix common typo: unkown -> unknown 2024-07-09 14:50:21 +02:00
osdidefs.h implement osdi noise support 2023-11-04 19:36:30 +01:00
osdiext.h allow showmod command for verilog-a models - feature request #100 2025-07-29 10:52:14 +02:00
osdiinit.c allow showmod command for verilog-a models - feature request #100 2025-07-29 10:52:14 +02:00
osdiload.c initializeLimiting -> iniLim, reorder sim_params for faster OSDI device evaluation. 2025-05-24 10:57:46 +02:00
osdinoise.c use only magnitudes in ac noise analysis even if openvaf compiled models deliver negative noise contributions 2024-03-26 19:59:23 +01:00
osdiparam.c allow showmod command for verilog-a models - feature request #100 2025-07-29 10:52:14 +02:00
osdipzld.c prototype for Verilog-A integration using OSDI and OpenVAF 2022-12-27 13:51:57 +01:00
osdiregistry.c Replace all BOOLEAN, BOOL, _Bool by bool 2024-12-15 10:25:28 +01:00
osdisetup.c free(info.errors) leads to a assertion error on the heap. 2025-09-04 00:25:26 +02:00
osditrunc.c Fixed incorrect OSDItrunc() state index when $limit is present. 2024-12-15 10:28:33 +01:00