pespin submitted this change.
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
cups_client: Fix memleak during conn closed
Change-Id: Ic4d4da7ecbf5a7903a46558482b66cdc22767c4b
---
M daemon/cups_client.c
1 file changed, 3 insertions(+), 0 deletions(-)
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 change 40795. To unsubscribe, or for help writing mail filters, visit settings.