DESC
Typo in strdup() checks
EDESC

In strdup() checks, there are two checks with the wrong variable name (the one
strdup()ed before).

