$OpenBSD: patch-base_src_common_EntityBits_c,v 1.1 2003/05/23 13:22:14 todd Exp $
--- base/src/common/EntityBits.c.orig	Sat Mar 29 16:15:22 2003
+++ base/src/common/EntityBits.c	Thu May 22 17:46:42 2003
@@ -60,7 +60,7 @@ ebits_serialize(SDR_stream *strm, const 
 void *
 ebits_deserialize(SDR_stream *strm)
 {
-  EntityBits *eb = (EntityBits *) GC_MALLOC(sizeof(EntityBits));
+  EntityBits *eb = (EntityBits *) malloc(sizeof(EntityBits));
 
   eb->serType        = &EntityBits_SerType;
   SER_MODIFIED(eb);
@@ -73,7 +73,7 @@ ebits_deserialize(SDR_stream *strm)
 EntityBits *
 ebits_create(void)
 {
-  EntityBits *eb = (EntityBits *) GC_MALLOC(sizeof(EntityBits));
+  EntityBits *eb = (EntityBits *) malloc(sizeof(EntityBits));
 
   eb->serType = &EntityBits_SerType;
   SER_MODIFIED(eb);
@@ -92,7 +92,7 @@ ebits_FromStream(SDR_stream *s, unsigned
   stream_reread(s);
   eb->length = stream_length(s);
 
-  buf = GC_MALLOC_ATOMIC(eb->length);
+  buf = malloc(eb->length);
   stream_read(s, buf, eb->length);
   eb->content = buf;
 
@@ -105,7 +105,7 @@ ebits_ReadFrom(const char *fileName, uns
 {
   FILE *f = NULL;
   char *buf;
-  EntityBits *eb = (EntityBits *) GC_MALLOC(sizeof(EntityBits));
+  EntityBits *eb = (EntityBits *) malloc(sizeof(EntityBits));
 
   /* For the moment, we only handle text or binary content. No
      symlinks or directories yet... */
@@ -118,7 +118,7 @@ ebits_ReadFrom(const char *fileName, uns
 
   eb->length = path_file_length(fileName);
 
-  buf = (char *) GC_MALLOC_ATOMIC(sizeof(char) * (eb->length + 1));
+  buf = (char *) malloc(sizeof(char) * (eb->length + 1));
   buf[eb->length] = 0;
 
   TRY {
