mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-17 02:06:55 +00:00
Fix memory leak due to not freed uri
This commit is contained in:
parent
05ee096280
commit
2ec4a2a92c
@ -131,6 +131,7 @@ R_API RIODesc *r_io_open_buffer(RIO *io, RBuffer *b, int perm, int mode) {
|
||||
const ut8 *tmp = r_buf_data (b, &bufSize);
|
||||
r_io_desc_write (desc, tmp, bufSize);
|
||||
}
|
||||
free (uri);
|
||||
return desc;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user