Skip to content

potential leak in secretservice #459

Description

@dirkmueller

https://github.com/docker/docker-credential-helpers/blame/6bcdedb630ade6022bf70d3f9c1f0471785e7ee5/secretservice/secretservice.c#L52-L57

here the g_hash_table_unref is only called when no match is found. shouldn't this be also called before a return of the value under if strncmp() condition?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions