mirror of
https://github.com/docker/docker-credential-helpers.git
synced 2026-06-13 16:01:28 +05:30
implemented freeing memory in secretservice and made minor edits to osxkeychain
Signed-off-by: Avi Vaid <avaid1996@gmail.com>
This commit is contained in:
@@ -99,5 +99,7 @@ func (h Secretservice) List() ([]string, []string, error) {
|
||||
paths[i] = C.GoString(pathTmp[i])
|
||||
accts[i] = C.GoString(acctTmp[i])
|
||||
}
|
||||
C.freeListData(&pathsC, listLenC)
|
||||
C.freeListData(&acctsC, listLenC)
|
||||
return paths, accts, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user