mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
r5119: fflush after talloc reports to ensure they are fully on disk when using tee
(This used to be commit e73e49aaa6
)
This commit is contained in:
parent
aa985bdee0
commit
784dde73bc
@ -757,6 +757,7 @@ void talloc_report_full(const void *ptr, FILE *f)
|
||||
(unsigned long)talloc_total_blocks(ptr));
|
||||
|
||||
talloc_report_depth(ptr, f, 1);
|
||||
fflush(f);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -784,7 +785,7 @@ void talloc_report(const void *ptr, FILE *f)
|
||||
(unsigned long)talloc_total_size(c+1),
|
||||
(unsigned long)talloc_total_blocks(c+1));
|
||||
}
|
||||
|
||||
fflush(f);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user