Fix free-before-use on r_io_reopen of a rbuf:// fd/desc ##io

This commit is contained in:
condret 2022-06-24 08:15:00 +02:00 committed by pancake
parent 53b5d81100
commit 5af6f292ca

View File

@ -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;
}