diff options
author | 2014-11-21 09:59:09 +0800 | |
---|---|---|
committer | 2014-11-21 08:37:59 +0100 | |
commit | b310a2a6095ec927a42cc1aba520a316be0faf51 (patch) | |
tree | d57daeed231b0c39f116512d90a3b36179e20859 /util/qemu-progress.c | |
parent | gtk: fix possible memory leak about local_err (diff) | |
download | qemu-b310a2a6095ec927a42cc1aba520a316be0faf51.tar.xz qemu-b310a2a6095ec927a42cc1aba520a316be0faf51.zip |
gtk: Don't crash if -nodefaults
This fixes a crash by just skipping the vte resize hack if cur is NULL.
Reproducer:
qemu-system-x86_64 -nodefaults
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'util/qemu-progress.c')
0 files changed, 0 insertions, 0 deletions