diff options
author | Michael Adam <obnox@samba.org> | 2009-02-27 15:28:52 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-03-04 11:23:05 +0100 |
commit | fb70a8a255f7fd40c7e578d9d21977259f9aa86c (patch) | |
tree | 04511e10925bdd57ba5ed1b9362942d7249072af /source3/modules/vfs_gpfs.c | |
parent | 27cf23958b02b05becce6e7c68347f6fea5b7845 (diff) | |
download | samba-fb70a8a255f7fd40c7e578d9d21977259f9aa86c.tar.gz samba-fb70a8a255f7fd40c7e578d9d21977259f9aa86c.tar.bz2 samba-fb70a8a255f7fd40c7e578d9d21977259f9aa86c.zip |
s3: Fix a memleak in dbwrap_rbt.
The SMB_MALLOC'ed rbt node data was not free'd on talloc free of
the db context. This is a quick fix using talloc instead of malloc
for allocation of the node data.
Since malloc was originally used for performance reasons, one
might want to reverse to malloc and create a talloc destructor
that walks the tree and frees all the node data if this talloc
approach proves to be too slow..
Michael
Diffstat (limited to 'source3/modules/vfs_gpfs.c')
0 files changed, 0 insertions, 0 deletions