summaryrefslogtreecommitdiffstats
path: root/server/red_channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/red_channel.c')
-rw-r--r--server/red_channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/red_channel.c b/server/red_channel.c
index a3dbaa29..a7620f77 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -293,7 +293,7 @@ RedChannel *red_channel_create(int size, RedsStream *peer,
error:
free(channel);
- peer->cb_free(peer);
+ reds_stream_free(peer);
return NULL;
}