diff options
| author | Benjamin Peterson <benjamin@python.org> | 2014-09-29 22:48:51 -0400 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2014-09-29 22:48:51 -0400 |
| commit | b351769f43f0f1e0af2f8f76bf4f069fbd07121a (patch) | |
| tree | 9ac4073bce48610d8f8ad51816ece97b798ee853 /Python/strdup.c | |
| parent | ff91d27dc601086aaf6a7b7da785dfe354fe5ba9 (diff) | |
| parent | 59fde797106e76ff93b72c435657174271545eef (diff) | |
| download | cpython-b351769f43f0f1e0af2f8f76bf4f069fbd07121a.tar.gz | |
merge 3.3 (#22517)
Diffstat (limited to 'Python/strdup.c')
| -rw-r--r-- | Python/strdup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/strdup.c b/Python/strdup.c index 20187e0f0a..769d3db130 100644 --- a/Python/strdup.c +++ b/Python/strdup.c @@ -6,7 +6,7 @@ char * strdup(const char *str) { if (str != NULL) { - register char *copy = malloc(strlen(str) + 1); + char *copy = malloc(strlen(str) + 1); if (copy != NULL) return strcpy(copy, str); } |
