1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-31 00:03:07 +03:00

Fixed a memory leak in the torture_get_user_home_dir test.

This commit is contained in:
Andreas Schneider
2010-03-13 16:59:26 +01:00
parent 90d72c214e
commit 4516e7bdcb

View File

@ -15,8 +15,9 @@ START_TEST (torture_get_user_home_dir)
pwd = getpwuid(getuid());
user = ssh_get_user_home_dir();
ck_assert_str_eq(user, pwd->pw_dir);
SAFE_FREE(user);
}
END_TEST