mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-16 17:57:23 +00:00
Fix free-before-use on r_io_reopen of a rbuf:// fd/desc ##io
This commit is contained in:
parent
53b5d81100
commit
5af6f292ca
@ -18,8 +18,6 @@ static int __read(RIO *io, RIODesc *fd, ut8 *buf, int count) {
|
||||
}
|
||||
|
||||
static bool __close(RIODesc *fd) {
|
||||
RBuffer *b = fd->data;
|
||||
r_buf_free (b);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user