mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-09 20:58:33 +03:00
locking: convert VIR_FREE to g_free in other functions that free their arg
Signed-off-by: Laine Stump <laine@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
11c48fe6eb
commit
f42be9ae48
@ -245,8 +245,8 @@ void virLockManagerPluginUnref(virLockManagerPluginPtr plugin)
|
||||
return;
|
||||
}
|
||||
|
||||
VIR_FREE(plugin->name);
|
||||
VIR_FREE(plugin);
|
||||
g_free(plugin->name);
|
||||
g_free(plugin);
|
||||
}
|
||||
#else /* !WITH_DLFCN_H */
|
||||
void virLockManagerPluginUnref(virLockManagerPluginPtr plugin G_GNUC_UNUSED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user