summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--randr/rrproperty.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/randr/rrproperty.c b/randr/rrproperty.c
index a57bd74bd..afac351e3 100644
--- a/randr/rrproperty.c
+++ b/randr/rrproperty.c
@@ -177,8 +177,6 @@ RRChangeOutputProperty (RROutputPtr output, Atom property, Atom type,
RRDestroyOutputProperty (prop);
return BadAlloc;
}
- if (len)
- memmove((char *)new_value.data, (char *)value, total_size);
new_value.size = len;
new_value.type = type;
new_value.format = format;