From 88ca0c853ce2636afcd7a4a3a0d25ec02ed7cab4 Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Thu, 19 Jun 2003 22:58:29 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=1553 --- api/boinc_api.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/boinc_api.C b/api/boinc_api.C index 35f6e74388..a401ee627a 100644 --- a/api/boinc_api.C +++ b/api/boinc_api.C @@ -528,13 +528,13 @@ void setup_shared_mem(void) { void cleanup_shared_mem(void) { #ifdef _WIN32 - if (app_client_shm != NULL) + if (app_client_shm->shm != NULL) detach_shmem(hSharedMem, app_client_shm->shm); #endif #ifdef HAVE_SYS_SHM_H #ifdef HAVE_SYS_IPC_H - if (app_client_shm != NULL) + if (app_client_shm->shm != NULL) detach_shmem(app_client_shm->shm); #endif #endif