mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
interface: replace VIR_FREE with g_free in all *Dispose() functions
Signed-off-by: Laine Stump <laine@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
67ee6c0a6a
commit
29293c0869
@ -84,7 +84,7 @@ virNetcfDriverStateDispose(void *obj)
|
|||||||
if (_driver->lockFD != -1)
|
if (_driver->lockFD != -1)
|
||||||
virPidFileRelease(_driver->stateDir, "driver", _driver->lockFD);
|
virPidFileRelease(_driver->stateDir, "driver", _driver->lockFD);
|
||||||
|
|
||||||
VIR_FREE(_driver->stateDir);
|
g_free(_driver->stateDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user