diff --git a/license/__init__.py b/license/__init__.py index 19950b4..7944286 100644 --- a/license/__init__.py +++ b/license/__init__.py @@ -18,4 +18,10 @@ def compiles(): @check50.check(compiles) def valid(): """license prints all plates.""" - check50.run("./license plates.txt").stdout("11ZT00\n1KAD21\n78ZZ01\n99ZZ11\n72ZZ21\n98ZZ31\n44ZW41\n34ZZ51") \ No newline at end of file + check50.run("./license plates.txt").stdout("11ZT00\n1KAD21\n78ZZ01\n99ZZ11\n72ZZ21\n98ZZ31\n44ZW41\n34ZZ51") + + +@check50.check(compiles) +def frees_memory(): + """results in no memory leakages""" + check50.c.valgrind("./license plates.txt").exit(0)