]> rtime.felk.cvut.cz Git - jailhouse.git/commit
tools: Fix freeing of image memory after cell creation
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 9 Apr 2014 16:35:44 +0000 (18:35 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Wed, 9 Apr 2014 17:07:08 +0000 (19:07 +0200)
commitc7fc4f1b04338a982c283f52e162da6b263cdd10
tree21ec55ab66a64e1926fd42fb02b60d6a6fea3357
parent069bc049029ca83f005a6a5553bcc50bc3a58d56
tools: Fix freeing of image memory after cell creation

Regression of 95666fd1: We are not allocating multiple images, and the
image variable does not point to a valid address when we try to free the
former only image at the end of cell_create. Properly loop over all the
images for freeing.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
tools/jailhouse.c