Commit 19ce250
Lukas Sismis
logging: prevent double-free multi-threaded logging
When multithreaded output was enabled, all threads freed
shallow-copy of sensor and prefix names.
This commit adds a guard so that only the parent frees the
allocated buffers.
Ticket: 88611 parent 389700e commit 19ce250
1 file changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
983 | 983 | | |
984 | 984 | | |
985 | 985 | | |
986 | | - | |
987 | | - | |
988 | | - | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
989 | 995 | | |
990 | 996 | | |
991 | 997 | | |
992 | 998 | | |
993 | 999 | | |
994 | | - | |
995 | | - | |
996 | | - | |
997 | 1000 | | |
998 | 1001 | | |
999 | 1002 | | |
| |||
0 commit comments