1
0
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:
Avi Vaid
2016-07-11 19:45:37 -04:00
parent 72661b3103
commit 7566a1e399
4 changed files with 20 additions and 11 deletions
+2
View File
@@ -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
}