Forgot to free vectors in linalg examples, memory leak fixed