libsysprof-capture: copy discovered end_time

This commit is contained in:
Christian Hergert
2019-05-13 14:50:54 -07:00
parent 2498b4cded
commit 74ea7d197c

View File

@ -948,6 +948,7 @@ sysprof_capture_reader_copy (SysprofCaptureReader *self)
copy->ref_count = 1;
copy->filename = g_strdup (self->filename);
copy->fd = fd;
copy->end_time = self->end_time;
copy->buf = g_malloc (self->bufsz);
memcpy (copy->buf, self->buf, self->bufsz);