Kaydet (Commit) d96ec44f authored tarafından Sjoerd Mullender's avatar Sjoerd Mullender

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

üst 4150ede5
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment