gcc -o memcache_test ./dm_memcache.c -lmemcached `pkg-config --cflags
--libs glib-2.0`

valgrind summary-

asd
enter id:2
enter value:asdasdasdasdasdasd
sstr: dbmpasswd_2,2,asdasdasdasdasdasd
memcache_set: Allocated buffers
thread process: processing buffer: action-set elements-1
thread process: performing memcache set request: keybuffer-dbmpasswd_2
thread process: setting lock.....
enter keyname:thread process: processing buffer: action-set elements-1
thread process: performing memcache set request: keybuffer-dbmpasswd_2
thread process: setting lock.....
^C==11304== 
==11304== HEAP SUMMARY:
==11304==     in use at exit: 44,336 bytes in 25 blocks
==11304==   total heap usage: 68 allocs, 67 frees, 47,733 bytes
allocated
==11304== 
==11304== LEAK SUMMARY:
==11304==    definitely lost: 3,112 bytes in 13 blocks
==11304==    indirectly lost: 0 bytes in 0 blocks
==11304==      possibly lost: 408 bytes in 3 blocks
==11304==    still reachable: 40,816 bytes in 9 blocks
==11304==         suppressed: 0 bytes in 0 blocks
==11304== Rerun with --leak-check=full to see details of leaked memory
==11304== 
==11304== For counts of detected and suppressed errors, rerun with: -v
==11304== ERROR SUMMARY: 138 errors from 10 contexts (suppressed: 23
from 8)

Attachment: dm_memcache.c
Description: Binary data

Attachment: dm_memcache.h
Description: Binary data

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to