Hi all, I found a memory leak about vbds_get_disks_srv function in vbd.c source. My fix is attached.
Best regards, Manuele
=== modified file 'uspace/srv/bd/vbd/vbd.c' --- uspace/srv/bd/vbd/vbd.c 2015-11-02 20:54:19 +0000 +++ uspace/srv/bd/vbd/vbd.c 2016-03-30 12:33:52 +0000 @@ -106,6 +106,7 @@ rc = vbds_disk_get_ids(id_buf, size, &act_size); if (rc != EOK) { + free(id_buf); async_answer_0(callid, rc); async_answer_0(iid, rc); return;
_______________________________________________ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz http://lists.modry.cz/listinfo/helenos-devel