Small memory leak in the status cache code

Ken Murchison murch at andrew.cmu.edu
Wed Jan 30 12:44:40 EST 2008


David Carter wrote:
> 
> There is a small memory leak in the status cache code. Or at least I 
> don't believe that DB->store() automatically free()s its input.
> 
> Probably faster to just have a "char data[250]" on the stack.

Good call.  I did this in CVS.  Thanks.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University


More information about the Cyrus-devel mailing list