by wshobson
memory-safety-patterns helps agents apply RAII, ownership, smart pointers, and resource cleanup across C, C++, and Rust. Use it to review backend or systems code, reduce leaks and dangling pointers, and guide safer refactors around files, sockets, buffers, and FFI boundaries.
