for (int i = 0; i < MAX_FRIENDS; i++) {
        User *userFriend = find_user(curr->friends[i]->name, *user_ptr_del);
        if (userFriend != NULL) {
            for (int j = 0; j < MAX_FRIENDS; j++) {
                if (userFriend->friends[j] != NULL && strcmp(userFriend->friends[j]->name, curr->name) == 0) {
                    userFriend->friends[j] = NULL;
                    break;
                }
            }
        }
    }
remove curr from curr friend's list.