Demonstrates using runtime.SetFinalizer to free cgo memory allocations.