Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
timeshift: fix little memory leak (skip/speed msgs)
  • Loading branch information
perexg committed Jun 2, 2015
1 parent caa4333 commit bd4ac17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/timeshift.c
Expand Up @@ -183,9 +183,11 @@ static void timeshift_input
if (sm->sm_type == SMT_SKIP) {
if (ts->state >= TS_LIVE)
timeshift_write_skip(ts->rd_pipe.wr, sm->sm_data);
streaming_msg_free(sm);
} else if (sm->sm_type == SMT_SPEED) {
if (ts->state >= TS_LIVE)
timeshift_write_speed(ts->rd_pipe.wr, sm->sm_code);
streaming_msg_free(sm);
}

else {
Expand Down

0 comments on commit bd4ac17

Please sign in to comment.