mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-22 14:09:22 +00:00
apparmor: Fix compilation by removing remains from virCommand conversion
Commit aaf20355b8
was incomplete here and
missed to remove some parts.
This commit is contained in:
parent
6593a5cbfd
commit
0ec289a469
@ -163,7 +163,7 @@ load_profile(virSecurityManagerPtr mgr,
|
|||||||
const char *fn,
|
const char *fn,
|
||||||
bool append)
|
bool append)
|
||||||
{
|
{
|
||||||
int rc = -1, status, ret;
|
int rc = -1;
|
||||||
bool create = true;
|
bool create = true;
|
||||||
char *xml = NULL;
|
char *xml = NULL;
|
||||||
virCommandPtr cmd;
|
virCommandPtr cmd;
|
||||||
@ -194,9 +194,6 @@ load_profile(virSecurityManagerPtr mgr,
|
|||||||
clean:
|
clean:
|
||||||
VIR_FREE(xml);
|
VIR_FREE(xml);
|
||||||
|
|
||||||
VIR_FORCE_CLOSE(pipefd[0]);
|
|
||||||
VIR_FORCE_CLOSE(pipefd[1]);
|
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user