From: Marc-André Lureau <marcandre.lureau@xxxxxxxxx> --- server/display-channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/display-channel.c b/server/display-channel.c index cffd6fa..1be3334 100644 --- a/server/display-channel.c +++ b/server/display-channel.c @@ -1662,7 +1662,7 @@ static void release_item(RedChannelClient *rcc, PipeItem *item, int item_pushed) { DisplayChannelClient *dcc = RCC_TO_DCC(rcc); - spice_assert(item != NULL); + spice_return_if_fail(item != NULL); dcc_release_item(dcc, item, item_pushed); } -- 2.4.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel