Free environment.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20868 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-06-03 21:02:04 +00:00
parent bdd3ed1630
commit a369dd0c50

View File

@@ -99,6 +99,7 @@ main(int argc, char **argv)
warnx("test 2: variable count %d != 1", count); warnx("test 2: variable count %d != 1", count);
error++; error++;
} }
unlink(fn); unlink(fn);
count = read_environment(fn, &env); count = read_environment(fn, &env);
if(count != 0) { if(count != 0) {
@@ -110,6 +111,7 @@ main(int argc, char **argv)
warnx("total variable count %d != 3", count); warnx("total variable count %d != 3", count);
error++; error++;
} }
free_environment(env);
return error; return error;