summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2024-01-12 10:40:20 +0000
committerGitHub <noreply@github.com>2024-01-12 12:40:20 +0200
commitcda323ee8a3c2b1bc5dd75da93574e95c0ffe304 (patch)
tree3db6e168eb12196b801cf10d388bc2b7b03821e0
parent86526775f1ed09d94a9b28665ce64a1f614d7c5b (diff)
Add missing call for aral_freez (eBPF) (#16765)
fix_missing_aral: Add missing call
-rw-r--r--collectors/ebpf.plugin/ebpf_apps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/collectors/ebpf.plugin/ebpf_apps.c b/collectors/ebpf.plugin/ebpf_apps.c
index 10c452267a..e9503d1db1 100644
--- a/collectors/ebpf.plugin/ebpf_apps.c
+++ b/collectors/ebpf.plugin/ebpf_apps.c
@@ -1201,6 +1201,7 @@ static inline void del_pid_entry(pid_t pid)
}
JudyLFreeArray(&pid_ptr->socket_stats.JudyLArray, PJE0);
}
+ aral_freez(ebpf_judy_pid.pid_table, pid_ptr);
JudyLDel(&ebpf_judy_pid.index.JudyLArray, p->pid, PJE0);
}
rw_spinlock_write_unlock(&ebpf_judy_pid.index.rw_spinlock);