Patch: Fix some memory leaks in error paths and a cut-and-paste error

Jeremy Allison jra at samba.org
Fri Apr 22 00:36:37 UTC 2016


On Wed, Apr 20, 2016 at 09:01:37PM -0700, Richard Sharpe wrote:
> Hi folks,
> 
> Attached is a couple of patches to fix some errors I noticed today.
> 
> Review and push if you can please.

+1 on the obvious copy-paste error in
source3/utils/net_dns.c, but the other
changes look wrong.

I think this might fix it better, can
you review ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lib-dns-Clean-up-allocated-structure-on-error-exit.patch
Type: text/x-diff
Size: 1895 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160421/02c9dc2d/0001-lib-dns-Clean-up-allocated-structure-on-error-exit.diff>


More information about the samba-technical mailing list