diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-03-20 18:03:10 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-03-20 18:03:10 +0000 |
commit | a9b47e53e88f3816e041e00c08714e451251e498 (patch) | |
tree | fc782e16c7f4003f7a2346bf76c02c64285276ae /hmp.c | |
parent | ed627b2ad37469eeba9e9ed5fecfe315df9ecc60 (diff) | |
parent | 95372184b7acdfd82ee748b6f0c6df1d839982ba (diff) |
Merge remote-tracking branch 'remotes/dgilbert/tags/pull-hmp-20180320' into staging
HMP fixes for 2.12
# gpg: Signature made Tue 20 Mar 2018 12:39:24 GMT
# gpg: using RSA key 0516331EBC5BFDE7
# gpg: Good signature from "Dr. David Alan Gilbert (RH2) <dgilbert@redhat.com>"
# Primary key fingerprint: 45F5 C71B 4A0C B7FB 977A 9FA9 0516 331E BC5B FDE7
* remotes/dgilbert/tags/pull-hmp-20180320:
hmp: free sev info
HMP: Initialize err before using
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1321,7 +1321,7 @@ void hmp_savevm(Monitor *mon, const QDict *qdict) void hmp_delvm(Monitor *mon, const QDict *qdict) { BlockDriverState *bs; - Error *err; + Error *err = NULL; const char *name = qdict_get_str(qdict, "name"); if (bdrv_all_delete_snapshot(name, &bs, &err) < 0) { |