diff options
Diffstat (limited to 'gpgme/w32-sema.c')
-rw-r--r-- | gpgme/w32-sema.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpgme/w32-sema.c b/gpgme/w32-sema.c index 6f701aea..a96fe31a 100644 --- a/gpgme/w32-sema.c +++ b/gpgme/w32-sema.c @@ -69,7 +69,7 @@ critsect_init (struct critsect_s *s) return; } /* now init it */ - mp = xtrymalloc ( sizeof *mp ); + mp = malloc ( sizeof *mp ); if (!mp) { LeaveCriticalSection (&init_lock); sema_fatal ("out of core while creating critical section lock"); @@ -108,7 +108,7 @@ _gpgme_sema_cs_destroy ( struct critsect_s *s ) { if (s && s->private) { DeleteCriticalSection ((CRITICAL_SECTION*)s->private); - xfree (s->private); + free (s->private); s->private = NULL; } } |