[CCBC-92] Memory leak when using more than 1 server Created: 18/Aug/12 Updated: 13/Nov/12 Resolved: 18/Aug/12 |
|
| Status: | Closed |
| Project: | Couchbase C client library libcouchbase |
| Component/s: | library |
| Affects Version/s: | 1.0.4 |
| Fix Version/s: | 1.0.6 |
| Security Level: | Public |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Vinogradov | Assignee: | Sergey Avseyev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: | Centos 5.6 32bits | ||
| Description |
|
There is a memory leak in server.c file. In the function libcouchbase_purge_single_server ring buffer context "rest" initialized but never freed. Do call libcouchbase_ringbuffer_destruct(&rest) at the end of the function.
|
| Comments |
| Comment by Sergey Avseyev [ 18/Aug/12 ] |
|
Thanks http://review.couchbase.org/19828 This fix will be accessible with 1.0.6 release |