]> Git Repo - qemu.git/blobdiff - scsi/pr-manager-helper.c
hbitmap: Fix merge when b is empty, and result is not an alias of a
[qemu.git] / scsi / pr-manager-helper.c
index 519a2969059316d328b39b874cab86be36b88049..ca27c93283d20d1c2befbf7c5c3e63890442ac47 100644 (file)
@@ -18,6 +18,7 @@
 #include "io/channel-socket.h"
 #include "pr-helper.h"
 #include "qapi/qapi-events-block.h"
+#include "qemu/module.h"
 
 #include <scsi/sg.h>
 
@@ -44,8 +45,8 @@ static void pr_manager_send_status_changed_event(PRManagerHelper *pr_mgr)
     char *id = object_get_canonical_path_component(OBJECT(pr_mgr));
 
     if (id) {
-        qapi_event_send_pr_manager_status_changed(id, !!pr_mgr->ioc,
-                                                  &error_abort);
+        qapi_event_send_pr_manager_status_changed(id, !!pr_mgr->ioc);
+        g_free(id);
     }
 }
 
This page took 0.023664 seconds and 4 git commands to generate.