confuse-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Confuse-devel] Memory leaks in confuse-2.0


From: Blattner Jörg, blattjoe
Subject: [Confuse-devel] Memory leaks in confuse-2.0
Date: Sat, 3 May 2003 23:05:01 +0200

Dear Martin

I'm a student of Electrical Engeneering and I'm writing a Software implementing 
a Ethernet Powerlink Manager on Linux (If you are interested: 
www.powerlink.org).

I'm using confuse to parse the config-files (thanks a lot for this great piece 
of software!). You mentioned in the release notes for the new Version 2.0 that 
you have fixed some mem-leaks.

While testing my program with valgrind, i receive the following message:

==9571== 26 bytes in 2 blocks are definitely lost in loss record 1 of 5
==9571==    at 0x40148DB8: malloc (vg_clientfuncs.c:103)
==9571==    by 0x40298F3F: __GI___strdup (in /lib/libc-2.3.2.so)
==9571==    by 0x804B2DE: cfg_setopt (confuse.c:478)
==9571==    by 0x804B853: cfg_parse_internal (confuse.c:675)

There seams still to be some lost pointers to malloced memory...

Valgrind version: 1.9.5
Valgrind call: valgrind --skin=memcheck --leak-check=yes myprog

sincefully
Joerg Blattner
Content Security by MailMarshal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]