You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
https://github.com/docker/docker-credential-helpers/blame/6bcdedb630ade6022bf70d3f9c1f0471785e7ee5/secretservice/secretservice.c#L52-L57
here the
g_hash_table_unrefis only called when no match is found. shouldn't this be also called before a return of the value under if strncmp() condition?