Commits

Michał Górny committed 5bf7b44

Fix returning Py_None with refcounting.

This effectively fixes compatibility with PyPy.

Comments (0)

Files changed (1)

src/pymountboot.c

 		}
 	}
 
+	Py_INCREF(Py_None);
 	return Py_None;
 }
 
 			self->status = MOUNTPOINT_REMOUNTED_RW;
 	}
 
+	Py_INCREF(Py_None);
 	return Py_None;
 }
 
 	}
 
 	self->status = MOUNTPOINT_NONE;
+	Py_INCREF(Py_None);
 	return Py_None;
 }