diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2024-03-05 02:35:49 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2024-03-05 17:05:50 +0700 |
commit | 1eb221a923d4e25747c80359e90e23ccaebc6140 (patch) | |
tree | 38f008f7a4dd6861a8e3985413c3bea718563624 | |
parent | da3ca9a69ef9c042887cd4ef0b9262a9465896bd (diff) |
osmo_stream_cli_write(): fix double-free of msgb
Change-Id: I954678acd90593e5311d22a10033c7741f280be3
Fixes: 48f9a3c2 "stream_cli: Proper handling of send() socket errors"
-rw-r--r-- | src/stream_cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stream_cli.c b/src/stream_cli.c index 1197b53..59f608b 100644 --- a/src/stream_cli.c +++ b/src/stream_cli.c @@ -303,6 +303,7 @@ static int osmo_stream_cli_write(struct osmo_stream_cli *cli) } msgb_free(msg); osmo_stream_cli_reconnect(cli); + return 0; } msgb_free(msg); |