First time here? Check out the FAQ!
answered 2012-09-13 01:13:39 -0600
Yes you can do this. Mat automatically manages memory via a reference-counting mechanism.