Commit 039e1a41 authored by Regis Merlino's avatar Regis Merlino

[Device] Fix a GetIcon() crash case

Signed-off-by: default avatarRegis Merlino <regis.merlino@intel.com>
parent 6772228d
......@@ -2786,6 +2786,7 @@ void dlr_device_get_icon(dlr_device_t *device, dlr_task_t *task,
G_CALLBACK(prv_get_icon_cancelled),
download, NULL);
g_object_ref(download->msg);
soup_session_queue_message(download->session, download->msg,
prv_get_icon_session_cb, download);
......
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