]> git.proxmox.com Git - qemu.git/blobdiff - hw/stellaris_enet.c
Use glib memory allocation and free functions
[qemu.git] / hw / stellaris_enet.c
index 12919317ecfb44036f4745889060e8115111c3ec..f9bd3da20954cb4aebf7376c4a9739a57ecbe09d 100644 (file)
@@ -393,7 +393,7 @@ static void stellaris_enet_cleanup(VLANClientState *nc)
 
     cpu_unregister_io_memory(s->mmio_index);
 
-    qemu_free(s);
+    g_free(s);
 }
 
 static NetClientInfo net_stellaris_enet_info = {