1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-12 15:52:55 +00:00
Michal Privoznik e39100ac92 nss: Drop needless free() in gethostbyname3()
The findLease() function allocates @addr array iff no error
occurred and at least one satisfactory record was found.
Therefore, there is no need to call free() if findLease() failed,
or did not find any records as addr == NULL.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
2019-09-30 12:26:30 +02:00
..
2019-08-09 09:03:53 +02:00
2019-08-09 09:03:53 +02:00
2019-04-15 17:37:52 +02:00
2019-02-12 10:14:53 +01:00
2019-06-19 17:12:34 +02:00
2019-06-19 17:12:34 +02:00