Skip to content

Commit

Permalink
Drop reference to temporary statp_repr.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed May 15, 2014
1 parent bac2d87 commit 465e087
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/filed/python-fd.c
Expand Up @@ -2636,6 +2636,7 @@ static PyObject *PyRestorePacket_repr(PyRestorePacket *self)
self->olname, self->where, self->RegexWhere, self->replace, self->create_status);

s = PyString_FromString(buf.c_str());
Py_DECREF(stat_repr);

return s;
}
Expand Down

0 comments on commit 465e087

Please sign in to comment.