Browse Source

TT#14008 fix possible null pointer

closes #1358

Change-Id: Id4ad456304569dd79fd1ac19b3f2127c705cd650
pull/1373/head
Richard Fuchs 4 years ago
parent
commit
ac60645c13
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/media_socket.c

+ 1
- 1
daemon/media_socket.c View File

@ -1147,7 +1147,7 @@ static const char *kernelize_one(struct rtpengine_target_info *reti, GQueue *out
if (sink && !sink->endpoint.address.family) if (sink && !sink->endpoint.address.family)
return NULL; return NULL;
if (sink)
if (sink && sink->selected_sfd)
ilog(LOG_INFO, "Kernelizing media stream: %s%s%s -> %s | %s -> %s%s%s", ilog(LOG_INFO, "Kernelizing media stream: %s%s%s -> %s | %s -> %s%s%s",
FMT_M(endpoint_print_buf(&stream->endpoint)), FMT_M(endpoint_print_buf(&stream->endpoint)),
endpoint_print_buf(&stream->selected_sfd->socket.local), endpoint_print_buf(&stream->selected_sfd->socket.local),


Loading…
Cancel
Save