
11 Dec
2017
11 Dec
'17
8:54 a.m.
On Mon, Dec 11, 2017 at 07:34:56AM +0100, Michal Privoznik wrote:
VIRT_RETURN_STRING() does immediate return. Therefore, efree(uuid) is never called and thus leaked. Moreover, there's no reason for dynamically allocated uuid buffer (in contrast to our misuse of large static buffers).
Signed-off-by: Michal Privoznik <mprivozn@redhat.com> ---
Reviewed-by: Erik Skultety <eskultet@redhat.com>