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 <dem...@redhat.com>

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

-- 
2.40.1


Reply via email to