mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-15 04:42:06 +00:00
miracle-dispd: minor tweaks of object life cycle transfering
Change-Id: Iafefe39652d9ade06c58e41f091a30df274cb091
This commit is contained in:
parent
de9198abd1
commit
7fc174ffb9
1 changed files with 2 additions and 4 deletions
|
@ -834,8 +834,7 @@ static int wfd_out_session_request_trigger(struct wfd_session *s,
|
||||||
return log_ERRNO();
|
return log_ERRNO();
|
||||||
}
|
}
|
||||||
|
|
||||||
*out = m;
|
*out = (rtsp_message_ref(m), m);
|
||||||
m = NULL;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -898,8 +897,7 @@ static int wfd_out_session_request_set_parameter(struct wfd_session *s,
|
||||||
return log_ERRNO();
|
return log_ERRNO();
|
||||||
}
|
}
|
||||||
|
|
||||||
*out = m;
|
*out = (rtsp_message_ref(m), m);
|
||||||
m = NULL;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue