From 5ae6da69e6a6780da53f9dc652d3aff31bdcac03 Mon Sep 17 00:00:00 2001 From: David Svensson Fors Date: Wed, 25 May 2016 08:50:40 +0200 Subject: [PATCH] test-client: don't unref format in on_state_notify possible_formats is transfer full for pinos_stream_connect(). --- pinos/tests/test-client.c | 1 - 1 file changed, 1 deletion(-) diff --git a/pinos/tests/test-client.c b/pinos/tests/test-client.c index 201cbd940..56409d9f7 100644 --- a/pinos/tests/test-client.c +++ b/pinos/tests/test-client.c @@ -144,7 +144,6 @@ on_state_notify (GObject *gobject, format = g_bytes_new_static (ANY_CAPS, strlen (ANY_CAPS) + 1); pinos_stream_connect (stream, PINOS_DIRECTION_OUTPUT, NULL, 0, format); - g_bytes_unref (format); break; } default: