Permalink
Browse files

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...
steveyen authored and alk committed Mar 15, 2012
1 parent 3119473 commit e50dd80189492f58c9017110fd94a08b988d845f
Showing with 1 addition and 0 deletions.
  1. +1 −0 cproxy.c
View
@@ -1248,6 +1248,7 @@ void cproxy_free_downstream(downstream *d) {
free(d->config);
}
+ free(d->behaviors_arr);
free(d);
}

0 comments on commit e50dd80

Please sign in to comment.