Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
global headers: fix memory leak in error path
  • Loading branch information
perexg committed Jun 17, 2016
1 parent 7115239 commit 894393a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plumbing/globalheaders.c
Expand Up @@ -284,6 +284,7 @@ gh_hold(globalheaders_t *gh, streaming_message_t *sm)
pkt->pkt_componentindex);
if (ssc == NULL) {
tvherror("globalheaders", "Unable to find component %d", pkt->pkt_componentindex);
streaming_msg_free(sm);
return;
}

Expand Down

0 comments on commit 894393a

Please sign in to comment.