You check ```if (info)```, is it possible to be NULL? If it is, you've forgotten the ```else``` clause.