summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmount/python/tab.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libmount/python/tab.c b/libmount/python/tab.c
index da7109263..46108c1b4 100644
--- a/libmount/python/tab.c
+++ b/libmount/python/tab.c
@@ -548,7 +548,6 @@ void pymnt_free_table(struct libmnt_table *tab)
while (mnt_table_first_fs(tab, &fs) == 0) {
PyObject *obj = mnt_fs_get_userdata(fs);
- mnt_table_remove_fs(tab, fs);
if (obj)
Py_DECREF(obj); /* (possible) destruction via object destructor */
else