diff --git a/daemon/remote.c b/daemon/remote.c index 42e1cb94132f20bddc47aff3c1eaac63535614e3..941e92f7d7b209acbea56c6b38aab12c3bd3b1ba 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -916,8 +916,6 @@ remoteDispatchDomainMemoryPeek(struct qemud_server *server ATTRIBUTE_UNUSED, if (virDomainMemoryPeek(dom, offset, size, ret->buffer.buffer_val, flags) < 0) goto cleanup; - if (dom) - virDomainFree(dom); rv = 0;