Skip to content

Commit

Permalink
Fix #860 extenstion entry bug (#861)
Browse files Browse the repository at this point in the history
Fix overshadowing of entrypoint variable.
  • Loading branch information
terrakuh committed Oct 2, 2020
1 parent 4120733 commit 92f580b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlite3_load_extension.go
Expand Up @@ -68,7 +68,7 @@ func (c *SQLiteConn) loadExtension(lib string, entry *string) error {

var centry *C.char
if entry != nil {
centry := C.CString(*entry)
centry = C.CString(*entry)
defer C.free(unsafe.Pointer(centry))
}

Expand Down

0 comments on commit 92f580b

Please sign in to comment.