@@ -23,7 +23,6 @@ sentry__crash_ipc_init_app(sem_t *init_sem)
2323 if (!ipc ) {
2424 return NULL ;
2525 }
26- memset (ipc , 0 , sizeof (sentry_crash_ipc_t ));
2726 ipc -> is_daemon = false;
2827 ipc -> init_sem = init_sem ; // Use provided semaphore (managed by backend)
2928
@@ -179,7 +178,6 @@ sentry__crash_ipc_init_daemon(
179178 if (!ipc ) {
180179 return NULL ;
181180 }
182- memset (ipc , 0 , sizeof (sentry_crash_ipc_t ));
183181 ipc -> is_daemon = true;
184182
185183 // Open existing shared memory created by app (using PID and thread ID)
@@ -316,7 +314,6 @@ sentry__crash_ipc_init_app(sem_t *init_sem)
316314 if (!ipc ) {
317315 return NULL ;
318316 }
319- memset (ipc , 0 , sizeof (sentry_crash_ipc_t ));
320317 ipc -> is_daemon = false;
321318 ipc -> init_sem = init_sem ; // Use provided semaphore (managed by backend)
322319
@@ -474,7 +471,6 @@ sentry__crash_ipc_init_daemon(
474471 if (!ipc ) {
475472 return NULL ;
476473 }
477- memset (ipc , 0 , sizeof (sentry_crash_ipc_t ));
478474 ipc -> is_daemon = true;
479475
480476 // Open existing shared memory created by app (using PID and thread ID)
@@ -608,7 +604,6 @@ sentry__crash_ipc_init_app(HANDLE init_mutex)
608604 if (!ipc ) {
609605 return NULL ;
610606 }
611- memset (ipc , 0 , sizeof (sentry_crash_ipc_t ));
612607 ipc -> is_daemon = false;
613608 ipc -> init_mutex = init_mutex ; // Use provided mutex (managed by backend)
614609
@@ -738,7 +733,6 @@ sentry__crash_ipc_init_daemon(pid_t app_pid, uint64_t app_tid,
738733 if (!ipc ) {
739734 return NULL ;
740735 }
741- memset (ipc , 0 , sizeof (sentry_crash_ipc_t ));
742736 ipc -> is_daemon = true;
743737
744738 // Open existing shared memory (using PID and thread ID)
0 commit comments