[PATCHSET] Fix some memory leaks
ab at samba.org
Wed Jun 22 17:11:15 UTC 2016
On Wed, 22 Jun 2016, Uri Simchoni wrote:
> On 06/22/2016 10:08 AM, Andreas Schneider wrote:
> > Hi,
> > as I'm currently packaging Samba 4.4.4 for RHEL our tools discovered some
> > memory leaks.
> > Find attached a patch which fixes memory leaks in smbget and the wbclient
> > test.
> > Review appreciated.
> > Thanks,
> > -- andreas
> Speaking of packaging - I just tried "import samba.ntacls" on a Fedora
> machine, and got "ImportError: No module named xattr_native". Seems like
> xattr_native.so is nowhere to be found.
> Works with custom-built master and setting of PYTHONPATH.
I don't think you should be setting PYTHONPATH if the package is
installed. If xattr_native.so is placed in the right part of the Python
tree, there shouldn't be any need for additional PYTHONPATH.
$ python -c "import sys; print '/usr/lib64/python2.7/site-packages' in sys.path"
/ Alexander Bokovoy
More information about the samba-technical