Kaydet (Commit) 247b5154 authored tarafından Neal Norwitz's avatar Neal Norwitz

This adds a leak, but fixes a crash. The leaking code is:

  "{0:.{precision}s}".format('hello world', precision=5)
I pretty sure it's because of the 'precision' keyword.
Still need to investigate further.
üst 44c19f64
...@@ -416,6 +416,7 @@ get_field_object(SubString *input, PyObject *args, PyObject *kwargs) ...@@ -416,6 +416,7 @@ get_field_object(SubString *input, PyObject *args, PyObject *kwargs)
Py_DECREF(key); Py_DECREF(key);
goto error; goto error;
} }
Py_INCREF(obj);
} else { } else {
/* look up in args */ /* look up in args */
obj = PySequence_GetItem(args, index); obj = PySequence_GetItem(args, index);
......
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