nspawn-oci: fix double free

Also rename function to make it clear that it also frees the array
object itself.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-03-22 17:39:12 +01:00
parent 54ed9f88dc
commit b2645747b7
4 changed files with 10 additions and 6 deletions
@@ -0,0 +1,5 @@
{"ociVersion": "1.0.0",
"linux": {"devices": [ { "access": "mmmw;r"}
] }, "e": "}e"
}