[Qemu-devel] Possible leak in block/qcow.c

2011-07-18 Thread Frediano Ziglio
Hi, I noted that there are two cluster_data member in block/qcow.c, one in BDRVQcowState, the other in QCowAIOCB. The last one is used in qcow_aio_write_cb to hold buffer for encrypt the cluster before write but I cannot find any related qemu_free while I can find many place where

Re: [Qemu-devel] Possible leak in block/qcow.c

2011-07-18 Thread Kevin Wolf
Am 18.07.2011 09:25, schrieb Frediano Ziglio: Hi, I noted that there are two cluster_data member in block/qcow.c, one in BDRVQcowState, the other in QCowAIOCB. The last one is used in qcow_aio_write_cb to hold buffer for encrypt the cluster before write but I cannot find any related