libsysprof-capture: fix leak of mapped ring buffer structure

This commit is contained in:
Christian Hergert
2023-05-12 14:02:46 -07:00
parent 8c17830522
commit dc99b46254
2 changed files with 7 additions and 0 deletions

View File

@ -335,6 +335,8 @@ mapped_ring_buffer_finalize (MappedRingBuffer *self)
close (self->fd);
self->fd = -1;
}
free (self);
}
void