Zig Bits 0x2: Using defer to defeat memory leaks

from blog Orhun's Blog, | ↗ original
Let's talk about how to detect memory leaks in Zig and avoid them by using the defer statement.