xspice/enh/enhtrans.c, two2three_translate(), plug a memory leak
This commit is contained in:
parent
878c9645c7
commit
b1aa6cfc87
|
|
@ -294,7 +294,6 @@ static char *two2three_translate(
|
|||
|
||||
char type;
|
||||
|
||||
char *tok;
|
||||
char *name;
|
||||
char **out_conn;
|
||||
char **in_conn;
|
||||
|
|
@ -380,8 +379,8 @@ static char *two2three_translate(
|
|||
printf("In two2three_translate, found poly!!! dim = %d \n", dim);
|
||||
#endif
|
||||
|
||||
tok = MIFgettok(&card); /* read and discard POLY */
|
||||
tok = MIFgettok(&card); /* read and discard dimension */
|
||||
txfree(MIFgettok(&card)); /* read and discard POLY */
|
||||
txfree(MIFgettok(&card)); /* read and discard dimension */
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue