summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f83bcd9)
It is not necessary to check for `_notification != NULL` as it
is done at the beginning of the function. Moreover, it confuses
Coverity which warns that `notification` will be leaked if the
output parameter is NULL.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
end_unlock:
pthread_mutex_unlock(&channel->lock);
end_unlock:
pthread_mutex_unlock(&channel->lock);
+ *_notification = notification;
- if (_notification) {
- *_notification = notification;
- }