diff options
| author | Jesse Larrew | 2013-04-29 17:52:52 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2013-04-30 23:04:14 +0200 |
| commit | beb54a87ba74dfac00906b4c876945c6602cd293 (patch) | |
| tree | 7423a6f46308a3b0a5313bd294a1a5eaff8c1d31 /include/exec/memory.h | |
| parent | Wire up disabled wait a panicked event on s390 (diff) | |
| download | qemu-beb54a87ba74dfac00906b4c876945c6602cd293.tar.gz qemu-beb54a87ba74dfac00906b4c876945c6602cd293.tar.xz qemu-beb54a87ba74dfac00906b4c876945c6602cd293.zip | |
libqtest: only call fclose() on open files
libqtest.c can segfault when calling fclose() if the pidfile wasn't
opened successfully. This patch fixes the issue.
Signed-off-by: Jesse Larrew <jlarrew@linux.vnet.ibm.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Message-id: 1367250772-17928-1-git-send-email-jlarrew@linux.vnet.ibm.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions
