artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b63a84
)
free the correct pointer. Missed in rev 1.16.
author
jsg
<jsg@openbsd.org>
Tue, 2 May 2023 13:02:51 +0000
(13:02 +0000)
committer
jsg
<jsg@openbsd.org>
Tue, 2 May 2023 13:02:51 +0000
(13:02 +0000)
ok dv@
usr.sbin/vmctl/vmctl.c
patch
|
blob
|
history
diff --git
a/usr.sbin/vmctl/vmctl.c
b/usr.sbin/vmctl/vmctl.c
index
66b7d27
..
9f323b6
100644
(file)
--- a/
usr.sbin/vmctl/vmctl.c
+++ b/
usr.sbin/vmctl/vmctl.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: vmctl.c,v 1.8
7 2023/04/28 19:46:41 dv Exp $
*/
+/* $OpenBSD: vmctl.c,v 1.8
8 2023/05/02 13:02:51 jsg Exp $
*/
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
@@
-202,7
+202,7
@@
vm_start(uint32_t start_id, const char *name, size_t memsize, int nnics,
imsg_compose(ibuf, IMSG_VMDOP_START_VM_REQUEST, 0, 0, vmc->vmc_kernel,
vmc, sizeof(struct vmop_create_params));
- free(v
cp
);
+ free(v
mc
);
return (0);
}