mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-12 21:31:58 +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();
|
||||
}
|
||||
|
||||
*out = m;
|
||||
m = NULL;
|
||||
*out = (rtsp_message_ref(m), m);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -898,8 +897,7 @@ static int wfd_out_session_request_set_parameter(struct wfd_session *s,
|
|||
return log_ERRNO();
|
||||
}
|
||||
|
||||
*out = m;
|
||||
m = NULL;
|
||||
*out = (rtsp_message_ref(m), m);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue