Attention is currently required from: jolly, pespin.
Patch set 7:Code-Review -1
View Change
1 comment:
Patchset:
Patch Set #7:
Can you explain why you need to free the iofd? There seems to (now) be a memory leak in osmo_stream_cli_open().
The old code I'm looking at locally has this in the open function to guard against:
```c
if (!cli->iofd)
cli->iofd = osmo_iofd_setup(cli, fd, cli->name, OSMO_IO_FD_MODE_READ_WRITE, &osmo_stream_cli_ioops, cli);
if (!cli->iofd)
goto error_close_socket;
```
It seems it was removed in commit 7e6d2e0f99ff095f4714f03b1ed991d6c9cb9c61
To view, visit change 35979. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I91a6a76b9ff96034a7b333edf87af27490202932
Gerrit-Change-Number: 35979
Gerrit-PatchSet: 7
Gerrit-Owner: jolly <andreas@eversberg.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann@sysmocom.de>
Gerrit-Reviewer: dexter <pmaier@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-Attention: jolly <andreas@eversberg.eu>
Gerrit-Attention: pespin <pespin@sysmocom.de>
Gerrit-Comment-Date: Mon, 04 Mar 2024 16:47:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment