diff --git a/buttond.py b/buttond.py index 91a337b..e7442c7 100755 --- a/buttond.py +++ b/buttond.py @@ -69,6 +69,7 @@ for b in config.get('button', 'names').split(','): # clear temp variables off the stack try: del pin, closed, opened + del c, config except NameError as e: print('failed to release memory', e)