Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update install_darwin.go
  • Loading branch information
thechampagne authored Sep 25, 2023
commit 56500caf7a980e0c682f979f67edfd5f96bc8ee7
4 changes: 2 additions & 2 deletions certificates/install_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ import (
// if something goes wrong will show a dialog with the error and return an error
func InstallCertificate(cert *paths.Path) error {
log.Infof("Installing certificate: %s", cert)
ccert := C.CString(cert.String())
defer C.free(unsafe.Pointer(ccert))
ccert := C.CString(cert.String())
defer C.free(unsafe.Pointer(ccert))
p := C.installCert(ccert)
s := C.GoString(p)
if len(s) != 0 {
Expand Down