1
0
Fork 0
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:
Derek Dai 2017-05-09 16:50:37 +08:00
parent de9198abd1
commit 7fc174ffb9

View file

@ -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;
} }