Bug fix: check whether call succeeded *after* the call.

This commit is contained in:
Sjoerd Mullender 1993-09-14 08:37:39 +00:00
parent 4150ede53c
commit d96ec44f38
1 changed files with 1 additions and 1 deletions

View File

@ -382,8 +382,8 @@ initstrop()
if (isspace(c))
buf[n++] = c;
}
s = newsizedstringobject(buf, n);
if (s) {
s = newsizedstringobject(buf, n);
dictinsert(d, "whitespace", s);
DECREF(s);
}