Skip to content

Commit

Permalink
Fixed small leak in VideoRoom
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Feb 10, 2021
1 parent 8ab7a00 commit 26f5958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/janus_videoroom.c
Original file line number Diff line number Diff line change
Expand Up @@ -7640,10 +7640,10 @@ static void *janus_videoroom_handler(void *data) {
}
s = s->next;
}
janus_refcount_decrease(&videoroom->ref);
janus_mutex_unlock(&participant->subscribers_mutex);
json_decref(update);
}
janus_refcount_decrease(&videoroom->ref);
json_decref(event);
json_decref(jsep);
}
Expand Down

0 comments on commit 26f5958

Please sign in to comment.