according to this post, setting pointer to null allows Crystal GC to clean out the memory?
Is this correct?
avg = Pointer(Float64).malloc(3)
# Call the C function to get load averages
if LibC.getloadavg(avg, 3) != -1
load_avg = [avg[0], avg[1], avg[2]]
# free the mallocd memory
avg = Pointer(Float64).null