Signed-off-by: Aaron Lauterer <a.laute...@proxmox.com>
---

thanks @Dominik who realized that we did not free this buffer in all
situations.

 RADOS.xs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/RADOS.xs b/RADOS.xs
index 7eca024..1eb0b5a 100644
--- a/RADOS.xs
+++ b/RADOS.xs
@@ -145,6 +145,10 @@ CODE:
     RETVAL = newSVpv(outbuf, outbuflen);
 
     rados_buffer_free(outbuf);
+
+    if (outs != NULL) {
+       rados_buffer_free(outs);
+    }
 }
 OUTPUT: RETVAL
 
-- 
2.30.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to