mirror of
https://github.com/rizinorg/rizin.git
synced 2026-10-12 02:21:57 +00:00
fix memory leaks in parse_export_entry function (#6776)
This commit is contained in:
@@ -410,6 +410,7 @@ static void *parse_export_entry(RzBuffer *b, ut64 max) {
|
||||
}
|
||||
return ptr;
|
||||
beach:
|
||||
free(ptr->field_str);
|
||||
free(ptr);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user