Skip to content
Snippets Groups Projects

Logger: fix sanitizer

Merged Loic Hausammann requested to merge logger_fix_sanitizer into master
2 files
+ 4
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
0
@@ -154,6 +154,9 @@ void header_read(struct header *h, struct logger_logfile *log) {
/* Allocate the masks memory. */
h->masks = malloc(sizeof(struct mask_data) * h->masks_count);
if (h->masks == NULL) {
error("Failed to allocate the memory for the masks.");
}
/* Loop over all masks. */
h->timestamp_mask = 0;
Loading