[PR #224] [CLOSED] Fix potential memory leak #267

Closed
opened 2026-01-31 21:30:31 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/qemu/qemu/pull/224
Author: @Fr3ya
Created: 10/8/2022
Status: Closed

Base: masterHead: fix_g_free


📝 Commits (1)

📊 Changes

3 files changed (+1 additions, -0 deletions)

View changed files

.DS_Store (+0 -0)
hw/.DS_Store (+0 -0)
📝 hw/vfio/common.c (+1 -0)

📄 Description

vfio_host_win_add() calls g_malloc0() for allocate, but didn't free, need to call g_free()


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/qemu/qemu/pull/224 **Author:** [@Fr3ya](https://github.com/Fr3ya) **Created:** 10/8/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix_g_free` --- ### 📝 Commits (1) - [`a4ed340`](https://github.com/qemu/qemu/commit/a4ed3405dac0793c2ddc3bc9ada3e269f98d19c9) Fix memory leak ### 📊 Changes **3 files changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.DS_Store` (+0 -0) ➕ `hw/.DS_Store` (+0 -0) 📝 `hw/vfio/common.c` (+1 -0) </details> ### 📄 Description vfio_host_win_add() calls `g_malloc0()` for allocate, but didn't free, need to call `g_free()` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 21:30:31 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#267