[PR #248] [CLOSED] softmmu: Fix dirtylimit memory leak #314

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

📋 Pull Request Information

Original PR: https://github.com/qemu/qemu/pull/248
Author: @newfriday
Created: 8/23/2023
Status: Closed

Base: masterHead: dirtylimit-20230823-pull-request


📝 Commits (1)

  • e373243 softmmu: Fix dirtylimit memory leak

📊 Changes

1 file changed (+7 additions, -9 deletions)

View changed files

📝 softmmu/dirtylimit.c (+7 -9)

📄 Description

Fix memory leak in hmp_info_vcpu_dirty_limit,use g_autoptr handle memory deallocation.

Reviewed-by: Hyman Huang(黄勇) yong.huang@smartx.com
Message-Id: SA1PR11MB67606FB284BF14ED9F11D436F51CA@SA1PR11MB6760.namprd11.prod.outlook.com


🔄 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/248 **Author:** [@newfriday](https://github.com/newfriday) **Created:** 8/23/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dirtylimit-20230823-pull-request` --- ### 📝 Commits (1) - [`e373243`](https://github.com/qemu/qemu/commit/e373243d3d909f2f3543fe7a88206218e0ae0660) softmmu: Fix dirtylimit memory leak ### 📊 Changes **1 file changed** (+7 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `softmmu/dirtylimit.c` (+7 -9) </details> ### 📄 Description Fix memory leak in hmp_info_vcpu_dirty_limit,use g_autoptr handle memory deallocation. Reviewed-by: Hyman Huang(黄勇) <yong.huang@smartx.com> Message-Id: <SA1PR11MB67606FB284BF14ED9F11D436F51CA@SA1PR11MB6760.namprd11.prod.outlook.com> --- <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:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#314