pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-uecups/+/40795?usp=email ) Change subject: cups_client: Fix memleak during conn closed ...................................................................... cups_client: Fix memleak during conn closed Change-Id: Ic4d4da7ecbf5a7903a46558482b66cdc22767c4b --- M daemon/cups_client.c 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-uecups refs/changes/95/40795/1 diff --git a/daemon/cups_client.c b/daemon/cups_client.c index f85ad4a..ae17595 100644 --- a/daemon/cups_client.c +++ b/daemon/cups_client.c @@ -657,6 +657,9 @@ } llist_del(&cc->list); + if (cc->srv) + osmo_stream_srv_destroy(cc->srv); + talloc_free(cc); } /* the control/user plane separation server bind/accept fd */ -- To view, visit https://gerrit.osmocom.org/c/osmo-uecups/+/40795?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-uecups Gerrit-Branch: master Gerrit-Change-Id: Ic4d4da7ecbf5a7903a46558482b66cdc22767c4b Gerrit-Change-Number: 40795 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de>