Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
scanfile: fix possible memory leak (coverity)
  • Loading branch information
perexg committed Dec 7, 2016
1 parent 4fa61fa commit 0794296
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/input/mpegts/scanfile.c
Expand Up @@ -424,6 +424,7 @@ scanfile_load_one
memoryinfo_alloc(&scanfile_memoryinfo, sizeof(*mux));
LIST_INSERT_HEAD(&(*net)->sfn_muxes, mux, dmc_link);
} else {
free(mux);
return -1;
}
}
Expand Down

0 comments on commit 0794296

Please sign in to comment.