Skip to contentSkip to conversation

lm_sensors2/lib data.c init.c

DISCUSSION Jean Delvare 2 participants 3 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines

Modified Files:
data.c init.c
Log Message:
(Khali) Fix memory leak.

There still are three of them in the library, but it's in the generated parser code. I just can't read this, so I will be unable to fix them. If anyone with more knowledge of bison/flex could tackle this, I'd of course help.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#1 lore raw
Quoted 9 lines · Jean Delvare
Quoted 4 lines

Modified Files:
data.c init.c
Log Message:
(Khali) Fix memory leak.

There still are three of them in the library, but it's in the generated parser code. I just can't read this, so I will be unable to fix them. If anyone with more knowledge of bison/flex could tackle this, I'd of course help.

Interesting. Did you use valgrind to find these?

Regards,

Signature · 2 lines
Mark M. Hoffman
[email protected]
#2 lore raw
In reply to Jean Delvare
Quoted 6 lines
Quoted 4 lines

There still are three of them in the library, but it's in the generated parser code. I just can't read this, so I will be unable to fix them. If anyone with more knowledge of bison/flex could tackle this, I'd of course help.

Interesting. Did you use valgrind to find these?

Yes I did. I also used it to locate and fix bad memory allocation/accessses in dmidecode (2.x) and associated tools. This is a really helpful tool and I'd recommend it to everyone.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/