Skip to content
Browse files

Bug #57702 :: Multiple BLOB fetch fails.

  • Loading branch information...
1 parent 7aa3d0a commit ca05f786f707680c935ab2e6ca36fa82d610a8a8 @hswong3i committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 ext/pdo_oci/oci_statement.c
View
3 ext/pdo_oci/oci_statement.c
@@ -99,7 +99,7 @@ static int oci_stmt_dtor(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */
switch (S->cols[i].dtype) {
case SQLT_BLOB:
case SQLT_CLOB:
- /* do nothing */
+ OCIDescriptorFree(S->cols[i].data, OCI_DTYPE_LOB);
break;
default:
efree(S->cols[i].data);
@@ -654,7 +654,6 @@ static int oci_blob_close(php_stream *stream, int close_handle TSRMLS_DC)
if (close_handle) {
OCILobClose(self->S->H->svc, self->S->err, self->lob);
- OCIDescriptorFree(self->lob, OCI_DTYPE_LOB);
efree(self);
}

0 comments on commit ca05f78

Please sign in to comment.
Something went wrong with that request. Please try again.