projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: NULL pointer dereference after NULL check
[lttng-tools.git]
/
src
/
common
/
consumer
/
consumer.c
diff --git
a/src/common/consumer/consumer.c
b/src/common/consumer/consumer.c
index b649d198aaad9c49ed139eb7d2520ce1c28f5373..c6eb71d57807354e729a9f220b02e18d07aaf6ab 100644
(file)
--- a/
src/common/consumer/consumer.c
+++ b/
src/common/consumer/consumer.c
@@
-4272,11
+4272,6
@@
error_unlock:
pthread_mutex_unlock(&stream->lock);
pthread_mutex_unlock(&channel->lock);
rcu_read_unlock();
pthread_mutex_unlock(&stream->lock);
pthread_mutex_unlock(&channel->lock);
rcu_read_unlock();
- if (ret) {
- goto error;
- }
- ret = LTTCOMM_CONSUMERD_SUCCESS;
-error:
return ret;
}
return ret;
}
This page took
0.024014 seconds
and
4
git commands to generate.