fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-netif/+/36159?usp=email )
Change subject: osmo_stream_cli_write(): fix double-free of msgb
......................................................................
osmo_stream_cli_write(): fix double-free of msgb
Change-Id: I954678acd90593e5311d22a10033c7741f280be3
Fixes: 48f9a3c2 "stream_cli: Proper handling of send() socket errors"
---
M src/stream_cli.c
1 file changed, 10 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/59/36159/1
diff --git a/src/stream_cli.c b/src/stream_cli.c
index 1197b53..63da2e1 100644
--- a/src/stream_cli.c
+++ b/src/stream_cli.c
@@ -301,7 +301,6 @@
llist_add(&msg->list, &cli->tx_queue);
return 0;
}
- msgb_free(msg);
osmo_stream_cli_reconnect(cli);
}
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-netif/+/36159?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I954678acd90593e5311d22a10033c7741f280be3
Gerrit-Change-Number: 36159
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange