diff options
author | Martin Nagy <mnagy@redhat.com> | 2009-10-06 15:59:16 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-22 13:56:21 -0400 |
commit | b8565b19461efc67e4d10d8cafb5979412b4cad6 (patch) | |
tree | d8dca08707970fc067a6cb2969844ec047ac9c0a /sss_client | |
parent | 6a2b3bd9e61336ca12cc7dbb8f2a54c5f53b1f34 (diff) | |
download | sssd-b8565b19461efc67e4d10d8cafb5979412b4cad6.tar.gz sssd-b8565b19461efc67e4d10d8cafb5979412b4cad6.tar.bz2 sssd-b8565b19461efc67e4d10d8cafb5979412b4cad6.zip |
Use talloc to copy data from c-ares
C-ares either returned a malloc-ed memory or it automatically freed the
memory after out callback has returned. This patch will make sure that
anything that the resolv_* function return is allocated by talloc and
can be safely freed by talloc_free().
This will break the resolv tests to the point they will not be
compilable. This will be addressed in a later patch with other
improvements to the tests.
Diffstat (limited to 'sss_client')
0 files changed, 0 insertions, 0 deletions