Free environment.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20868 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user