JuliaLang/julia — comment on commit 1653b9a1d0ddb15ad53de0a3b299b250a00b427f
File: j/linalg_suitesparse.j line 21
By JeffBezanson:

You can't do this. There is no reference to the constructed array so it can be collected and you're left with a dangling pointer.