From cffb63be56d8fa92aab128b081a28f4a6ff1c4b5 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 22 Jan 2015 10:10:01 -0700 Subject: [PATCH] correction to recent repair to places Corrects 5b20690876 --- racket/src/racket/src/place.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/racket/src/racket/src/place.c b/racket/src/racket/src/place.c index 6baf58467c..c392bb8311 100644 --- a/racket/src/racket/src/place.c +++ b/racket/src/racket/src/place.c @@ -3266,8 +3266,8 @@ static void place_async_send(Scheme_Place_Async_Channel *ch, Scheme_Object *uo) mzrt_mutex_unlock(ch->lock); new_msgs = GC_master_malloc(sizeof(Scheme_Object*) * sz * 2); - new_msg_memory = GC_master_malloc(sizeof(void*) * ch->size * 2); - new_chains = GC_master_malloc(sizeof(Scheme_Object*) * ch->size * 2); + new_msg_memory = GC_master_malloc(sizeof(void*) * sz * 2); + new_chains = GC_master_malloc(sizeof(Scheme_Object*) * sz * 2); mzrt_mutex_lock(ch->lock); }