aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/alloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 4dc0b8165f..38ae9d3492 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -1091,10 +1091,9 @@ allocate_string_data (s, nchars, nbytes)
/* If S had already data assigned, mark that as free by setting its
string back-pointer to null, and recording the size of the data
- in it.. Copy old string contents to the new sdata. */
+ in it. */
if (old_data)
{
- bcopy (old_data->u.data, s->data, old_nbytes);
old_data->u.nbytes = old_nbytes;
old_data->string = NULL;
}