fix memory leaks in get_calls in librz/core/cmd/cmd_analysis.c (#6811)

This commit is contained in:
Syh-Xiong
2026-09-28 12:20:02 +00:00
committed by GitHub
parent fb12ea77bb
commit 8ed7340ba1
+1
View File
@@ -5693,6 +5693,7 @@ static RZ_OWN RzVector /*<ut64>*/ *get_calls(RzCore *core, RzAnalysisBlock *bloc
}
RzVector *set = rz_vector_new(sizeof(ut64), NULL, NULL);
if (!set) {
free(data);
return NULL;
}
RzAnalysisOp op = { 0 };