aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2023-01-15 22:45:20 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2023-01-15 22:45:31 +0100
commit8804a2335a1cab221880befb2401192fc709f4ef (patch)
tree8c1f81d4de3ff3c44a0a3e6d67d4f8488eadcb4a
parentc27bc90ae6191cd13a8575ef31763f60045895bd (diff)
fix memleak of proxy_subscr_listentry
Patch-by: whytek Related: OS#5854 Change-Id: Ic1ec4911fa5ae91cc75aa865c8201edd83af41ed
-rw-r--r--src/proxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proxy.c b/src/proxy.c
index 1ae152c..152fce8 100644
--- a/src/proxy.c
+++ b/src/proxy.c
@@ -190,6 +190,7 @@ int proxy_subscr_create_or_update(struct proxy *proxy, const struct proxy_subscr
int _proxy_subscr_del(struct proxy_subscr_listentry *e)
{
llist_del(&e->entry);
+ talloc_free(e);
return 0;
}