[7/8] Fix free use in xen_backend.c

Submitted by Jean-Christophe DUBOIS on Nov. 15, 2009, 6:18 p.m.

Details

Message ID 1258309100-29591-7-git-send-email-jcd@tribudubois.net
State New
Headers show

Commit Message

Jean-Christophe DUBOIS Nov. 15, 2009, 6:18 p.m.
xen_backend.c is using qemu_free() instead of free().
Fix it.

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
---
 hw/xen_backend.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/hw/xen_backend.c b/hw/xen_backend.c
index 658ea8d..a2e408f 100644
--- a/hw/xen_backend.c
+++ b/hw/xen_backend.c
@@ -594,7 +594,7 @@  static void xenstore_update(void *unused)
 	xenstore_update_fe(vec[XS_WATCH_PATH], (void*)ptr);
 
 cleanup:
-    qemu_free(vec);
+    free(vec);
 }
 
 static void xen_be_evtchn_event(void *opaque)