Browse Source

_diff_tree_.c: Fix double decref of objects module.

Ted Horst 14 years ago
parent
commit
c1c8d0dd7a
2 changed files with 2 additions and 1 deletions
  1. 2 0
      NEWS
  2. 0 1
      dulwich/_diff_tree.c

+ 2 - 0
NEWS

@@ -2,6 +2,8 @@
 
  BUG FIXES
 
+  * Fix double decref in _diff_tree.c. (Ted Horst, #715528)
+
   * Fix the build on Windows. (Pascal Quantin)
 
   * Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python.

+ 0 - 1
dulwich/_diff_tree.c

@@ -438,7 +438,6 @@ init_diff_tree(void)
 		goto error;
 	}
 
-	Py_DECREF(objects_mod);
 	Py_DECREF(diff_tree_mod);
 	return;