|
From: Matthias B. <mat...@gm...> - 2007-08-25 12:53:53
|
Hi,
I'm using valgrind on debian unstable. Consider the following trivial
program:
#include <pwd.h>
struct passwd* bla;
int main(int argc, char* argv[]) {
bla=getpwnam("root");
}
When I run this with valgrind, I get "definitely lost: 156 bytes in 11".
When I run it with
valgrind --leak-check=full --gen-suppresions=all ./a.out, I get one
suppression, which only works when I use --leak-check=full, and it also
catches 36 bytes and still reports "indirectly lost: 120 bytes in 10
blocks.". What can I do now?
|