summaryrefslogtreecommitdiffstats
path: root/polyp/module-protocol-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/module-protocol-stub.c')
-rw-r--r--polyp/module-protocol-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/module-protocol-stub.c b/polyp/module-protocol-stub.c
index 3ce18c31..3b1a0270 100644
--- a/polyp/module-protocol-stub.c
+++ b/polyp/module-protocol-stub.c
@@ -145,7 +145,7 @@ int pa_module_init(struct pa_core *c, struct pa_module*m) {
goto finish;
if (!(m->userdata = protocol_new(c, s, m, ma))) {
- pa_socket_server_free(s);
+ pa_socket_server_unref(s);
goto finish;
}