Skip to content

Memory leak issue #679

@peanutgyz

Description

@peanutgyz
 while(1) {
        sockfd = ff_socket(AF_INET, SOCK_DGRAM, 0);
        if (sockfd < 0) {
            printf("ff_socket failed, sockfd:%d, errno:%d, %s\n", sockfd, errno, strerror(errno));
            printf("Done %u\n", i);
            exit(1);
        }
        ff_close(sockfd);
        i++;
    }

If will return No buffer space available, use the latest code

Can some help to check this

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions