Browse Source

MT#55283 make arg non null

Change-Id: Ia30ab70c0a520b6469146bdb60fcd112f56673b3
rfuchs/timeout
Richard Fuchs 2 months ago
parent
commit
6b785e77a2
2 changed files with 3 additions and 2 deletions
  1. +0
    -2
      daemon/media_socket.c
  2. +3
    -0
      include/media_socket.h

+ 0
- 2
daemon/media_socket.c View File

@ -3991,8 +3991,6 @@ stream_fd *stream_fd_lookup(const endpoint_t *ep) {
}
void stream_fd_release(stream_fd *sfd) {
if (!sfd)
return;
if (sfd->socket.fd == -1)
return;


+ 3
- 0
include/media_socket.h View File

@ -392,7 +392,10 @@ bool get_consecutive_ports(socket_port_q *out, unsigned int num_ports, struct lo
stream_fd *stream_fd_new(struct socket_port_link *, call_t *call, struct local_intf *lif);
stream_fd *stream_fd_lookup(const endpoint_t *);
__attribute__((nonnull(1)))
void stream_fd_release(stream_fd *);
enum thread_looper_action release_closed_sockets(void);
void append_thread_lpr_to_glob_lpr(void);


Loading…
Cancel
Save