Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Julian Bouzas
WirePlumber
Commits
7e23f313
Commit
7e23f313
authored
May 17, 2021
by
Julian Bouzas
Browse files
proxy: don't accept NULL pw_proxy in set_pw_proxy API
parent
dc693ee0
Pipeline
#321508
passed with stages
in 1 minute and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/wp/proxy.c
View file @
7e23f313
...
...
@@ -256,8 +256,7 @@ wp_proxy_set_pw_proxy (WpProxy * self, struct pw_proxy * proxy)
WpProxyPrivate
*
priv
=
wp_proxy_get_instance_private
(
self
);
if
(
!
proxy
)
return
;
g_return_if_fail
(
proxy
);
g_return_if_fail
(
priv
->
pw_proxy
==
NULL
);
priv
->
pw_proxy
=
proxy
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment