Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nosip: resource leak if no answer received #1367

Merged
merged 1 commit into from Sep 18, 2018

Conversation

DmitryYudin
Copy link
Contributor

No description provided.

@lminiero
Copy link
Member

I'll try to review later today, thanks for your contribution!

@@ -583,6 +583,7 @@ char *janus_nosip_sdp_manipulate(janus_nosip_session *session, janus_sdp *sdp, g
/* Media */
static int janus_nosip_allocate_local_ports(janus_nosip_session *session, gboolean update);
static void *janus_nosip_relay_thread(void *data);
static void janus_nosip_relay_thread_close_internal(janus_nosip_session *session);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the name of the method is correct, considering it is not related to the the relay thread, but is more of a cleanup of the media session: maybe something like janus_nosip_media_cleanup?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@lminiero
Copy link
Member

Looks good, merging then! Thanks again for your contribution: I think I'll try and integrate it in the SIP and SIPre plugins as well, considering they work pretty much the same way on that.

@lminiero lminiero merged commit a8e6b2d into meetecho:master Sep 18, 2018
@DmitryYudin DmitryYudin deleted the pr/#3 branch November 17, 2018 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants