summaryrefslogtreecommitdiff
path: root/server/util
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2009-10-06 15:59:16 +0200
committerStephen Gallagher <sgallagh@redhat.com>2009-10-22 13:56:21 -0400
commitb8565b19461efc67e4d10d8cafb5979412b4cad6 (patch)
treed8dca08707970fc067a6cb2969844ec047ac9c0a /server/util
parent6a2b3bd9e61336ca12cc7dbb8f2a54c5f53b1f34 (diff)
downloadsssd-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 'server/util')
0 files changed, 0 insertions, 0 deletions