> The easiest thing to do is copy the contents to a regular area of memory not
> managed by a Storable Vector.  This'll be much less painful because it's just 
> a
> normal free (not a recursive one, which can get hairy).

Yeah, that's definitely the safest and simplest.  But the copying
defeats the purpose of passing a pointer in the first place, which was
to not have to copy the giant array just to pass it.
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to