mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-25 16:51:30 +00:00
io: remove unnecessary r_io_map_cleanup
This commit is contained in:
parent
10265a0507
commit
21b54017d8
@ -404,7 +404,6 @@ R_API bool r_io_vread_at_mapped(RIO* io, ut64 vaddr, ut8* buf, int len) {
|
||||
if (io->ff) {
|
||||
memset (buf, io->Oxff, len);
|
||||
}
|
||||
r_io_map_cleanup (io);
|
||||
if (!io->maps) {
|
||||
return false;
|
||||
}
|
||||
@ -415,7 +414,6 @@ static bool r_io_vwrite_at(RIO* io, ut64 vaddr, const ut8* buf, int len) {
|
||||
if (!io || !buf || (len < 1)) {
|
||||
return false;
|
||||
}
|
||||
r_io_map_cleanup (io);
|
||||
if (!io->maps) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user