projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
relayd: track the live listener socket
[deliverable/lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
stream-fd.c
diff --git
a/src/bin/lttng-relayd/stream-fd.c
b/src/bin/lttng-relayd/stream-fd.c
index e376fa1684062ef681939a0a7827d61b3f88825c..f8c0c5343de9c93a22125cfeebc17d1a6e3d177d 100644
(file)
--- a/
src/bin/lttng-relayd/stream-fd.c
+++ b/
src/bin/lttng-relayd/stream-fd.c
@@
-53,5
+53,8
@@
static void stream_fd_release(struct urcu_ref *ref)
void stream_fd_put(struct stream_fd *sf)
{
+ if (!sf) {
+ return;
+ }
urcu_ref_put(&sf->ref, stream_fd_release);
}
This page took
0.025865 seconds
and
5
git commands to generate.