timeshift: reader - coverity - access to variable after free()

This commit is contained in:
Jaroslav Kysela 2014-10-03 14:27:37 +02:00
parent a97c73d96e
commit a03b8b06ae

View file

@ -749,8 +749,8 @@ void *timeshift_reader ( void *p )
pktbuf_len(pkt->pkt_payload), sm->sm_time);
#endif
}
streaming_target_deliver2(ts->output, sm);
last_time = sm->sm_time;
streaming_target_deliver2(ts->output, sm);
sm = NULL;
wait = 0;
} else if (sm) {