Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
hdhomerun: coverity - fix double free
  • Loading branch information
perexg committed May 23, 2016
1 parent aecd107 commit bdc29e4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/input/mpegts/tvhdhomerun/tvhdhomerun.c
Expand Up @@ -313,10 +313,8 @@ static void tvhdhomerun_device_create(struct hdhomerun_discover_device_t *dInfo)
hd->hd_pids_deladd = 1;

if (!tvh_hardware_create0((tvh_hardware_t*)hd, &tvhdhomerun_device_class,
uuid.hex, conf)) {
free(hd);
uuid.hex, conf))
return;
}

TAILQ_INIT(&hd->hd_frontends);

Expand Down

0 comments on commit bdc29e4

Please sign in to comment.