diff --git a/libr/io/io.c b/libr/io/io.c index d6af0be8e8..4552a23c91 100644 --- a/libr/io/io.c +++ b/libr/io/io.c @@ -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; }