diff --git a/src/channel_commands.c b/src/channel_commands.c index 5a77c946bdd651de26ed24e7803ec696f5ff13bc..bf83d511e0863a8b60eca30d49fb8f156a810b1e 100644 --- a/src/channel_commands.c +++ b/src/channel_commands.c @@ -60,6 +60,8 @@ do_channel_open_command(struct command *s, make_channel_open_exception( SSH_OPEN_RESOURCE_SHORTAGE, "Allocating a local channel number failed.")); + + return; } channel = NEW_CHANNEL(self, connection, index, &request);