-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
sss_hash_create() produces a dhash table living in the talloc hierarchy.
- -- Stephen Gallagher RHCE 804006346421761
Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/
On Wed, 06 Oct 2010 11:42:34 -0400 Stephen Gallagher sgallagh@redhat.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
sss_hash_create() produces a dhash table living in the talloc hierarchy.
ACK.
Simo.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 10/06/2010 11:56 AM, Simo Sorce wrote:
On Wed, 06 Oct 2010 11:42:34 -0400 Stephen Gallagher sgallagh@redhat.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
sss_hash_create() produces a dhash table living in the talloc hierarchy.
ACK.
Simo.
Self-nack.
I just realized that freeing the table won't clean up all of its memory, because all of the values will have been allocated on the table's parent context, not on the table itself.
New patch attached plays some tricks with talloc parentage.
- -- Stephen Gallagher RHCE 804006346421761
Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/
On Wed, 06 Oct 2010 12:17:01 -0400 Stephen Gallagher sgallagh@redhat.com wrote:
Self-nack.
I just realized that freeing the table won't clean up all of its memory, because all of the values will have been allocated on the table's parent context, not on the table itself.
New patch attached plays some tricks with talloc parentage.
A mind wrapper but looks ok, ack.
Simo.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 10/06/2010 12:22 PM, Simo Sorce wrote:
On Wed, 06 Oct 2010 12:17:01 -0400 Stephen Gallagher sgallagh@redhat.com wrote:
Self-nack.
I just realized that freeing the table won't clean up all of its memory, because all of the values will have been allocated on the table's parent context, not on the table itself.
New patch attached plays some tricks with talloc parentage.
A mind wrapper but looks ok, ack.
Simo.
Pushed to master and sssd-1-2.
- -- Stephen Gallagher RHCE 804006346421761
Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/
sssd-devel@lists.fedorahosted.org