Hello, using valgrind gives me hundreds of errors because I use gtk_exit(0); or gtk_main_quit(); e.g.: ==2290== 36 bytes in 1 blocks are definitely lost in loss record 48 of 160 ==2290== at 0x40026422: malloc (vg_replace_malloc.c:153) ==2290== by 0x40FC52FE: (within /lib/libc-2.3.2.so) ==2290== by 0x40FC4BE4: __nss_database_lookup (in /lib/libc-2.3.2.so) ==2290== by 0x4358F10C: ??? ==2290== ==2290== 36 bytes in 3 blocks are still reachable in loss record 49 of 160 ==2290== at 0x40026422: malloc (vg_replace_malloc.c:153) ==2290== by 0x4103B470: FcExprCreateDouble (in /usr/lib/libfontconfig.so.1.0.4) ==2290== by 0x4103CB74: (within /usr/lib/libfontconfig.so.1.0.4) ==2290== by 0x4103CBC2: (within /usr/lib/libfontconfig.so.1.0.4) ==2290== How can I cleanup memory before exiting the program? -- Ralf Müller Institut für Kristallographie Tel: 0241 80 96906 RWTH Aachen Fax: 0241 80 92184 D-52056 Aachen
Attachment:
pgp7Jjt3QzZ0x.pgp
Description: PGP signature