Skip to content

Commit

Permalink
Add missing DECREF on local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lelit committed Dec 3, 2015
1 parent 11271cd commit e02f902
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dulwich/_pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ void init_pack(void)
return;

PyExc_ApplyDeltaError = PyObject_GetAttrString(errors_module, "ApplyDeltaError");
Py_DECREF(errors_module);
if (PyExc_ApplyDeltaError == NULL)
return;

Expand Down

0 comments on commit e02f902

Please sign in to comment.