commit | aa11066573722b704c718f418514735f1c86edb6 | [log] [tgz] |
---|---|---|
author | murgatroid99 <mlumish@google.com> | Wed Apr 08 16:53:47 2015 -0700 |
committer | murgatroid99 <mlumish@google.com> | Wed Apr 08 16:53:47 2015 -0700 |
tree | 105f7f00c83cd16c6bc4742beb716a7c94e877c7 | |
parent | bc83a5ea0e5302dc103174e680976704c8639fb3 [diff] [blame] |
Fixed memory leaks in PHP extension code
diff --git a/src/php/ext/grpc/channel.c b/src/php/ext/grpc/channel.c index 51a3eae..b8262db 100644 --- a/src/php/ext/grpc/channel.c +++ b/src/php/ext/grpc/channel.c
@@ -62,6 +62,7 @@ if (channel->wrapped != NULL) { grpc_channel_destroy(channel->wrapped); } + efree(channel->target); efree(channel); }