[jsonrpc-glib] tests: fix leak of client commands



commit 9f00c36bd29fdfc61a6894a14200a37e474eb12b
Author: Christian Hergert <chergert redhat com>
Date:   Wed Dec 27 03:19:35 2017 -0800

    tests: fix leak of client commands

 tests/test-stress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/test-stress.c b/tests/test-stress.c
index 6d33d6f..538e51c 100644
--- a/tests/test-stress.c
+++ b/tests/test-stress.c
@@ -155,7 +155,7 @@ begin_next_op_source (gpointer data)
 
   jsonrpc_client_call_async (client,
                              "some/operation",
-                             g_steal_pointer (&params),
+                             params,
                              NULL,
                              client_call_cb,
                              NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]