engines/http: Fix memory leak
authorPavel Reichl <preichl@redhat.com>
Thu, 14 Dec 2023 21:10:25 +0000 (22:10 +0100)
committerPavel Reichl <preichl@redhat.com>
Thu, 14 Dec 2023 21:10:25 +0000 (22:10 +0100)
commit9e66b0606cad74cb98dc44cb91903432171585a9
tree44231314b5e1cb8929e9bf1f4161b8bcb74dcad4
parent08a68c482a782006ff7e530a2b8fb7f019d460cd
engines/http: Fix memory leak

Found by Red Hat's OpenScanHub:

fio-3.35/engines/http.c:253: leaked_storage: Variable r going out of scope leaks the storage it points to.

Signed-off-by: Pavel Reichl <preichl@redhat.com>
engines/http.c