mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 07:17:13 +02:00
Dev/detach pthreads not joining (#1019)
* detach the pthreads that are not joining else memory leak * removed the clean up comment, also refactored the pthread join/detach for ctb 1g
This commit is contained in:
@ -91,7 +91,7 @@ static inline void FILELOG_PrintLog(enum TLogLevel level, char *m) {
|
||||
}
|
||||
|
||||
static inline char *FILELOG_BuildLog(const char *fmt, ...) {
|
||||
char *p;
|
||||
char *p = NULL;
|
||||
va_list ap;
|
||||
p = malloc(ERROR_MSG_LENGTH);
|
||||
va_start(ap, fmt);
|
||||
|
Reference in New Issue
Block a user