New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 <d.ketor@gmail.com>
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 <kchai@redhat.com>
Need pthread_mutexattr_destroy after pthread_mutexattr_init,
or there will be memory leak.
Signed-off-by: Ketor Meng d.ketor@gmail.com