Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
timeshift: fix another memory leak
  • Loading branch information
perexg committed Jan 4, 2016
1 parent 25b2cbc commit 6fafa3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/timeshift/timeshift_writer.c
Expand Up @@ -367,6 +367,8 @@ static void _process_msg
pthread_mutex_lock(&ts->state_mutex);
if (ts->state == TS_LIVE)
streaming_target_deliver2(ts->output, sm);
else
streaming_msg_free(sm);
pthread_mutex_unlock(&ts->state_mutex);
}

Expand Down

0 comments on commit 6fafa3b

Please sign in to comment.