mirror of
https://github.com/rizinorg/rizin.git
synced 2026-10-11 22:19:51 +00:00
fix memory leaks in get_calls in librz/core/cmd/cmd_analysis.c (#6811)
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user