Skip to content

Commit

Permalink
Add missing unref to mDNS resolver gobject. (#2399)
Browse files Browse the repository at this point in the history
  • Loading branch information
atoppi authored Oct 28, 2020
1 parent c1c2830 commit 52933c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,7 @@ int janus_sdp_parse_candidate(void *ice_stream, const char *candidate, int trick
GResolver *resolver = g_resolver_get_default();
g_resolver_lookup_by_name_async(resolver, rip, NULL,
(GAsyncReadyCallback)janus_sdp_mdns_resolved, mc);
g_object_unref(resolver);
return 0;
}
/* Add remote candidate */
Expand Down

0 comments on commit 52933c6

Please sign in to comment.