no check for pointer!=NULL before dereferencing it
no check for pointer!=NULL before dereferencing it

punpack can return NULL. These unit tests were checking if elements
inside of the return value are NULL, but not if the pointer itself
is NULL.

Additionally, a NULL check is unnecessary for a free.

tarruda/check,tarruda/check,tarruda/check,tarruda/check,tarruda/check