[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

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.

Comment by Sergey Avseyev [ 18/Aug/12 ]


This fix will be accessible with 1.0.6 release
Generated at Sun Oct 26 03:08:51 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.