b8565b1 Use talloc to copy data from c-ares

2 files Authored by mnagy 14 years ago, Committed by sgallagh 14 years ago,
    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.
    
        
file modified
+200 -21
file modified
+12 -6