bug fix, const data space was used, instead of malloced area
This commit is contained in:
parent
de35847146
commit
2b3bcfea74
|
|
@ -1,3 +1,7 @@
|
|||
2010-10-27 Robert Larice
|
||||
* src/frontend/device.c :
|
||||
bug fix, const data space was used, instead of malloced area
|
||||
|
||||
2010-10-27 Robert Larice
|
||||
* src/spicelib/devices/asrc/asrcset.c ,
|
||||
* src/xspice/mif/mifgetvalue.c :
|
||||
|
|
|
|||
|
|
@ -1069,8 +1069,7 @@ com_alter_common(wordlist *wl, int do_model)
|
|||
xsbuf = wl_flatten(words);
|
||||
/* fprintf(cp_err, "Chain converted %s \n",xsbuf); */
|
||||
dv=(struct dvec *)MALLOC(sizeof(struct dvec));
|
||||
dv->v_name = (char *)MALLOC(sizeof("real vector"));
|
||||
dv->v_name = "real vector";
|
||||
dv->v_name = copy("real vector");
|
||||
type &= IF_VARTYPES;
|
||||
if (type == IF_REALVEC) {
|
||||
list = (double *)MALLOC(sizeof(double));
|
||||
|
|
|
|||
Loading…
Reference in New Issue