From 1d10c1b14b9544aba049dab42fff4b1224bb1640 Mon Sep 17 00:00:00 2001 From: Vivien Maisonneuve Date: Wed, 18 Jun 2014 20:24:45 +0200 Subject: [PATCH 1/1] Implement BasicSet.__del__ --- pypol/isl.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pypol/isl.py b/pypol/isl.py index 00d0818..ddf7ea0 100644 --- a/pypol/isl.py +++ b/pypol/isl.py @@ -55,3 +55,6 @@ class BasicSet(IslObject): p = libisl.isl_printer_print_basic_set(p, self) string = libisl.isl_printer_get_str(p).decode() return string + + def __del__(self): + libisl.isl_basic_set_free(self) -- 2.20.1