<div dir="ltr">Does with-foreign-pointer free up the memory after body is executed?<br><br>I have been using constructs such as: <br><br><div><div>     (let ((num-channel-groups* (foreign-alloc :uint)))<br>        (ddc-get-num-channel-groups file-handle* num-channel-groups*)<br>        (prog1 (mem-ref num-channel-groups* :uint)<br>          (foreign-free num-channel-groups*)))<br><br><br></div><div>Is with-foreign-pointer the idiomatic way to accomplish the same thing?<br><br></div><div>Thanks <br><br></div><div>Mirko<br></div></div></div>