Check strdup()s' returns with malloc_check()