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

Add missing unref to mDNS resolver gobject. #2399

Merged
merged 1 commit into from
Oct 28, 2020

Conversation

atoppi
Copy link
Member

@atoppi atoppi commented Oct 21, 2020

This PR simply adds a missing unref after a call to g_resolver_get_default.

Quoting glib docs

Gets the default #GResolver. You should unref it when you are done
with it. #GResolver may use its reference count as a hint about how
many threads it should allocate for concurrent DNS resolutions.

@lminiero
Copy link
Member

Merging.

@lminiero lminiero merged commit 52933c6 into master Oct 28, 2020
@lminiero lminiero deleted the fix-missing-unref-resolver branch October 28, 2020 09:33
PauKerr pushed a commit to caffeinetv/janus-gateway that referenced this pull request Nov 11, 2020
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.

2 participants