[Tremor] Memory Leaks in Tremor Code
Ravi Lakkundi
ravilakkundi at yahoo.co.in
Thu Sep 22 20:52:12 PDT 2005
Hi Mike,
Sorry Mike it was alloca.
Thanks for all the help shown by you Mike. Can you
also tell me why is that thr is so much amount of
dynamic allocation done in Tremor code? Is it that
static allocation is impossible ?
We are developing a product on Embedded system and run
time malloc's is not desired.
if you can support me for these i will be thankful to
you.
Ravi
> > Hi,
> >
> > I feel that thr are some memory leaks in the
> TREMOR
> > code.
> >
> > For Ex: res012.c
> >
> > char *partword=
> > (char*)malloc(partwords*partitions_per_word*
> > sizeof(*partword));
>
> Ravi,
>
> You'll have to be more specific about the version of
> Tremor you're using.
>
> This code doesn't exist in this form in either
> mainline Tremor or in
> Tremor-lowmem.
>
> In fact, I strongly suspect you've pasted this code
> from a
> heavily-modified local version of Tremor in which
> you have introduced
> this leak.
>
> Mike
>
> p.s. You sent this twice; please be more careful
> next time.
>
__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
More information about the Tremor
mailing list