]> git.proxmox.com Git - pve-common.git/commit
fix #3259: always free certificate file after reading it
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 11 Feb 2021 18:19:47 +0000 (19:19 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 Feb 2021 14:35:36 +0000 (15:35 +0100)
commiteb6262a6b746141bc67a6a8a90bfc728065db385
treec7191bfe35e2be0dc66faf12c417696ee03d2ca2
parentdc00c0529d809a5813096d63a9511658041cdbbf
fix #3259: always free certificate file after reading it

This commit mirrors e3c4007bc94956962c03da8c6853415d2fdf057c in
pve-cluster. The fix there got lost with a refactoring for reusing the
code here in pve-common in c92b771669e68a8b49906b8a0a68b533750567b0

Tested by repeadetly reading https://$pve-node:8006/nodes on a
virtual testcluster.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PVE/Certificate.pm