block/iscsi: Document why we use raw malloc()
commit7966a36c83132c5eebf04a60d9e475b0aa6e7f88
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 27 Jul 2023 15:07:05 +0000 (27 16:07 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 8 Sep 2023 15:03:09 +0000 (8 17:03 +0200)
tree27eb8a61eacd9c60e94a3b113f17e18a18caab40
parentb0a6620acfe4c2997935cb3a9baa0d429ab8d61a
block/iscsi: Document why we use raw malloc()

In block/iscsi.c we use a raw malloc() call, which is unusual
given the project standard is to use the glib memory allocation
functions. Document why we do so, to avoid it being converted
to g_malloc() by mistake.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-ID: <20230727150705.2664464-1-peter.maydell@linaro.org>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/iscsi.c