qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] qemu-ga: Hanle memory leak and simplify code
@ 2024-10-22 14:29 Dehan Meng
  2024-10-22 14:29 ` [PATCH v4 1/5] qemu-ga: 'Null' check for mandatory parameters Dehan Meng
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Dehan Meng @ 2024-10-22 14:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: demeng, kkostiuk, michael.roth, peter.maydell, berrange

v4:
Handle g_autoptr() to simplify code and memory leak

v3:
Modify commits message and do some minor update.

v2:
Split v1 up to separate commits for each logically independent change

Dehan Meng (5):
  'Null' check for mandatory parameters
  Initialize correctly so getline works properly
  Avoiding freeing line prematurely
  For correcting code style
  Replace g_new0() with g_autoptr()

Signed-off-by: Dehan Meng <demeng@redhat.com>

 qga/commands-linux.c | 135 +++++++++++++++++++++----------------------
 1 file changed, 66 insertions(+), 69 deletions(-)

-- 
2.40.1



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-10-28  1:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22 14:29 [PATCH v4 0/5] qemu-ga: Hanle memory leak and simplify code Dehan Meng
2024-10-22 14:29 ` [PATCH v4 1/5] qemu-ga: 'Null' check for mandatory parameters Dehan Meng
2024-10-25 12:48   ` Daniel P. Berrangé
2024-10-28  1:49     ` Dehan Meng
2024-10-22 14:29 ` [PATCH v4 2/5] qemu-ga: Initialize correctly so getline works properly Dehan Meng
2024-10-22 14:29 ` [PATCH v4 3/5] qemu-ga: Avoiding freeing line prematurely Dehan Meng
2024-10-22 14:29 ` [PATCH v4 4/5] qemu-ga: For correcting code style Dehan Meng
2024-10-22 14:29 ` [PATCH v4 5/5] qemu-ga: Replace g_new0() with g_autoptr() Dehan Meng
2024-10-25 12:50   ` Daniel P. Berrangé
2024-10-28  1:49     ` Dehan Meng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).