Re: [dpdk-dev] [PATCH] vhost: clean up per-socket mutex

2017-07-01 Thread Yuanhan Liu
On Wed, Jun 14, 2017 at 10:19:53AM +0200, Jens Freimann wrote: > On Mon, Jun 12, 2017 at 02:29:04PM -0700, Daniel Verkamp wrote: > > vsocket->conn_mutex was allocated with pthread_mutex_init() but never > > freed with pthread_mutex_destroy(). This is a potential memory leak, > > depending on how p

Re: [dpdk-dev] [PATCH] vhost: clean up per-socket mutex

2017-06-14 Thread Jens Freimann
On Mon, Jun 12, 2017 at 02:29:04PM -0700, Daniel Verkamp wrote: > vsocket->conn_mutex was allocated with pthread_mutex_init() but never > freed with pthread_mutex_destroy(). This is a potential memory leak, > depending on how pthread_mutex_t is implemented. > > Signed-off-by: Daniel Verkamp > --