We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5e671b commit a0ec558Copy full SHA for a0ec558
statement.go
@@ -673,6 +673,7 @@ func (stmt *Stmt) getRowid() (string, error) {
673
if err != nil {
674
return "", err
675
}
676
+ defer C.OCIDescriptorFree(*rowidP, C.OCI_DTYPE_ROWID)
677
678
// OCI_ATTR_ROWID returns the ROWID descriptor allocated with OCIDescriptorAlloc()
679
_, err = stmt.ociAttrGet(*rowidP, C.OCI_ATTR_ROWID)
0 commit comments