fixeria has uploaded this change for review.
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 change 36159. To unsubscribe, or for help writing mail filters, visit settings.