ossp-pkg/mm/mm_alloc.c 1.19 -> 1.20
--- mm_alloc.c 2004/09/12 18:35:01 1.19
+++ mm_alloc.c 2004/11/15 16:48:06 1.20
@@ -350,7 +350,7 @@
}
if ((vp = mm_malloc(mm, usize)) == NULL)
return NULL;
- memcpy(vp, ptr, usize);
+ memcpy(vp, ptr, mc->mc_usize);
mm_free(mm, ptr);
return vp;
}
|
|