diff --git a/src/frontend/trannoise/1-f-code.c b/src/frontend/trannoise/1-f-code.c index 9258d1890..4af666ee5 100644 --- a/src/frontend/trannoise/1-f-code.c +++ b/src/frontend/trannoise/1-f-code.c @@ -142,6 +142,7 @@ trnoise_state_gen(struct trnoise_state *this, CKTcircuit *ckt) } #endif + tfree(this->oneof); /* FIXME, this is just a trivial trial to avoid memory leaks */ this->oneof = TMALLOC(double, newsteps); this->oneof_length = newsteps;