Permalink
Browse files

Fix memory leak

Change-Id: I3dbc4c30423499b4234c88d1056f394987503424
Reviewed-on: http://review.couchbase.org/23307
Tested-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
  • Loading branch information...
1 parent a805661 commit 67cc23cfa2042fa5cf376ac9bf4046752dfa4a52 @trondn trondn committed with ingenthr Dec 14, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 designdoc.c
View
@@ -131,6 +131,7 @@ void php_couchbase_delget_design_doc_impl(INTERNAL_FUNCTION_PARAMETERS, int oo,
/* not reached */
case LCB_HTTP_STATUS_NOT_FOUND:
+ efree(ctx.payload);
RETURN_FALSE;
case LCB_HTTP_STATUS_UNAUTHORIZED:

0 comments on commit 67cc23c

Please sign in to comment.