Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MB-4896 - Fix memory leak during dynamic reconfiguration.

The downstream data structs in moxi didn't have their
behavior data structures cleaned up.

Change-Id: Id96740f47f508b194e45990a1b580cbbfaabbefd
Reviewed-on: http://review.couchbase.org/13939
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  • Loading branch information...
commit e50dd80189492f58c9017110fd94a08b988d845f 1 parent 3119473
Steve Yen authored March 14, 2012 alk committed March 16, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  cproxy.c
1  cproxy.c
@@ -1248,6 +1248,7 @@ void cproxy_free_downstream(downstream *d) {
1248 1248
         free(d->config);
1249 1249
     }
1250 1250
 
  1251
+    free(d->behaviors_arr);
1251 1252
     free(d);
1252 1253
 }
1253 1254
 

0 notes on commit e50dd80

Please sign in to comment.
Something went wrong with that request. Please try again.