Repository navigation
Mutex: fix memory leak in lockdep _register - #4760
Conversation
|
@ketor good catch! could you add a title for your commit message? something like:
will do the trick. and do you mind creating an issue in http://tracker.ceph.com, since this issue is a critical fix. would be great if we are able to track it in the redmine. thanks =) |
2cbb222 to
464f158
Compare
|
@ketor, and could you also connect the ticket with your commit using the commit message? you could put following line right before the "Signed-off-by" line. and other than this, the fix looks great. |
Need pthread_mutexattr_destroy after pthread_mutexattr_init Fixes: #111762 Signed-off-by: Ketor Meng <[email protected]>
464f158 to
2b23327
Compare
|
@tchaikov please review again, thanks! |
|
tested at http://pulpito.ceph.redhat.com/kchai-2015-06-01_00:05:54-rados-wip-kefu-testing---basic-magna, all of the tests but 1 passed. |
Mutex: fix memory leak in lockdep _register Reviewed-by: Kefu Chai <[email protected]>
Need pthread_mutexattr_destroy after pthread_mutexattr_init,
or there will be memory leak.
Signed-off-by: Ketor Meng [email protected]