Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

PCBC-75: Free persistent structures correctly.

Change-Id: Ib5fce6428f701ab8e9c8bf60b1d9c100bdec2acf
Reviewed-on: http://review.couchbase.org/17386
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Matt Ingenthron <matt@couchbase.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
  • Loading branch information...
commit e959001ce680862ee1df63afa0f1958a8b452f1e 1 parent aba4d7d
@ingenthr ingenthr authored ingenthr committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  couchbase.c
View
2  couchbase.c
@@ -1269,7 +1269,7 @@ static void php_couchbase_create_impl(INTERNAL_FUNCTION_PARAMETERS, int oo) /* {
php_error_docref(NULL TSRMLS_CC, E_WARNING,
"Failed to connect libcouchbase to server: %s", libcouchbase_strerror(handle, retval));
libcouchbase_destroy(handle);
- efree(couchbase_res);
+ pefree(couchbase_res, persistent);
efree(ctx);
RETURN_FALSE;
}
Please sign in to comment.
Something went wrong with that request. Please try again.