memory leak in gencache error path

Stefan (metze) Metzmacher metze at samba.org
Wed Dec 22 01:11:56 MST 2010


Hi,

while testing my "net ads dns register" changes I noticed some memory leaks.

One was in the gencache code, I've fixed it here, but I'm unsure if this
is correct.
http://gitweb.samba.org/?p=metze/samba/wip.git;a=commitdiff;h=aba03a6c615e1fc44e865357c3402a517ec038b9

Do we have callers which rely on getting the blob of expired entries?

A review from some gencache expert would be nice:-)

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101222/dd2477bb/attachment.pgp>


More information about the samba-technical mailing list