Yes I did. Thanks.

Quote Originally Posted by d_stranz View Post
No, it's guaranteed to crash if either the "obj" or "tab" pointers are NULL.

Why is it so hard for people to understand that the way you avoid segfaults is to check pointers for NULL before using them?