summaryrefslogtreecommitdiff
path: root/pjlib/src/pj/os_core_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/src/pj/os_core_unix.c')
-rw-r--r--pjlib/src/pj/os_core_unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pjlib/src/pj/os_core_unix.c b/pjlib/src/pj/os_core_unix.c
index 9f8578a1..8ec0cdb7 100644
--- a/pjlib/src/pj/os_core_unix.c
+++ b/pjlib/src/pj/os_core_unix.c
@@ -1170,6 +1170,7 @@ static pj_status_t init_mutex(pj_mutex_t *mutex, const char *name, int type)
/* Set owner. */
mutex->nesting_level = 0;
mutex->owner = NULL;
+ mutex->owner_name[0] = '\0';
#endif
/* Set name. */