[libsoup] Fix the build
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] Fix the build
- Date: Thu, 1 Feb 2018 14:40:12 +0000 (UTC)
commit 8fafda68ca672ed7b32f3f170ea26d7438fc0bdb
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Thu Feb 1 15:38:43 2018 +0100
Fix the build
soup_message_queue_item_ref() doesn't return the item.
libsoup/soup-session.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
index 567aefe..a8996a1 100644
--- a/libsoup/soup-session.c
+++ b/libsoup/soup-session.c
@@ -4924,8 +4924,10 @@ connect_async_data_new (SoupMessageQueueItem *item,
{
ConnectAsyncData *data;
+ soup_message_queue_item_ref (item);
+
data = g_slice_new (ConnectAsyncData);
- data->item = soup_message_queue_item_ref (item);
+ data->item = item;
data->progress_callback = progress_callback;
data->user_data = user_data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]