util: rename two *Free() functions while changing VIR_FREE to g_free
util: rename two *Free() functions while changing VIR_FREE to g_free

dhcpHostFree() and addnHostFree() don't follow the normal pattern of
*Free functions in the rest of libvirt code - they are actually more
similar to the *Dispose() functions, in that they free all subordinate
objects, but not the object pointed to by the argument
itself. However, the arguments aren't virObjects, so it wouldn't be
proper to name them *Dispose() either.

They *currently* behave similar to a *Clear() function, in that they
free all the subordinate objects and nullify the pointers of those
objects. HOWEVER, we don't actually need or want that behavior - the
two functions in question are only called as part of a higher level
*Free() function, and the pointers are not referenced in any way
between the time they are freed and when the parent object is freed.

So, since the current name isn't correct, nor is *Dispose(), and we
want to change the behavior in such a way that *Clear() also wouldn't
be correct, lets name the functions *FreeContent(), which is an
accurate description of what the functions do, and what we *want* them
to do.

And since it's such a small patch, we can go ahead and change that
behavior - replacing the VIR_FREEs with g_free.

Signed-off-by: Laine Stump <c23361c43fbf79fed83e8b76173707b083d6caf5@redhat.com>
Reviewed-by: Daniel Henrique Barboza <627b089ad62deae9aaf06ccfa2c9056df28927e0@gmail.com>

nertpinx/libvirt,libvirt/libvirt,jfehlig/libvirt,crobinso/libvirt,olafhering/libvirt,olafhering/libvirt,crobinso/libvirt,nertpinx/libvirt,libvirt/libvirt,olafhering/libvirt,olafhering/libvirt,nertpinx/libvirt,libvirt/libvirt,crobinso/libvirt,crobinso/libvirt,jfehlig/libvirt,jfehlig/libvirt,zippy2/libvirt,zippy2/libvirt,nertpinx/libvirt,zippy2/libvirt,zippy2/libvirt,jfehlig/libvirt,libvirt/libvirt,nertpinx/libvirt