Commit 173f694b authored by Simon McVittie's avatar Simon McVittie
Browse files

test_peer_ping: Don't leak one method call per invocation

Previously, we allocated m both during initialization, and after
deciding not to skip this test.
Signed-off-by: Simon McVittie's avatarSimon McVittie <>
Reviewed-by: Philip Withnall's avatarPhilip Withnall <>
parent f058394a
......@@ -1258,8 +1258,7 @@ static void
test_peer_ping (Fixture *f,
gconstpointer context)
DBusMessage *m = dbus_message_new_method_call (DBUS_SERVICE_DBUS,
DBusMessage *m = NULL;
DBusPendingCall *pc = NULL;
DBusError error = DBUS_ERROR_INIT;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment