Re: [ng-spice] History and command completion
On Wed, 8 Nov 2000, GLAO S. Dezai wrote:
> I dont agree, because we cannot free val since we dont know where it has
>been allocated. We free the result of the cp_unquote after use because we
>know that the string has been copied and must be freed to avoid the memory
>leak problem.
>
> Anyway, i am sorry because i didnot test it directly on ngspice.
>
> Paolo, is it possible to remove the patch until a solution is found to free
>safely the memory?
>
> Dezai Glao
>
Glao, I have spent an evening preventing a segfault on ngspice startup
caused by your patch. I the run the simulator and not get any other
segfault: the change I made are in CVS, look at variable.c and tell me if
that is a good solution.
Regarding your question, it should be possible, Arno ?
Anyway I am out of ngspice until monday, sorry there is the LiMe2000 and I
am in the organizing committee.
Bye,
Paolo
Partial thread listing:
- Re: [ng-spice] History and command completion, (continued)