Added --enable-mem-debug to configure. When enabled, define MEM_DEBUG
commit21f6771e767c0ae3285720a95c6a1b5225159534
authorBen Kibbey <bjk@luxsci.net>
Sat, 11 Aug 2007 03:30:05 +0000 (10 23:30 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sat, 11 Aug 2007 03:30:05 +0000 (10 23:30 -0400)
tree108a625f2d510c27ee934fae1c7564d9491a2f05
parent56645669de56b52dccf061d4d54651978c77283a
Added --enable-mem-debug to configure. When enabled, define MEM_DEBUG
and use the standard memory (de)allocators.

do_xml_encrypt() will realloc() the existing xml data to the new size
required by gcrypt rather than duplicating it and wasting memory.

A few cleanups.
configure.ac
src/Makefile.am
src/commands.c
src/common.h
src/pwmd.c
src/xml.c
src/xml.h