aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-03-28 00:12:26 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2014-03-28 00:12:26 +0200
commit742795c4b6daa82d92b2a3e5960ac7db7f8a7b54 (patch)
tree5bb3969b17ab9ea17666e382a0165dd8c0879254
parentdb866c50c43c81a7b0dc10a9f0cb431ba4f8de66 (diff)
downloadpam-modules-742795c4b6daa82d92b2a3e5960ac7db7f8a7b54.tar.gz
pam-modules-742795c4b6daa82d92b2a3e5960ac7db7f8a7b54.tar.bz2
Bugfix.
* lib/transform.c (gray_free_transform_expr): Fix the loop.
-rw-r--r--lib/transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transform.c b/lib/transform.c
index 0dbe443..4b68a47 100644
--- a/lib/transform.c
+++ b/lib/transform.c
@@ -380,13 +380,13 @@ gray_set_transform_expr (const char *expr)
void
gray_free_transform_expr ()
{
while (transform_head)
{
- struct transform *next = transform_head;
+ struct transform *next = transform_head->next;
free_transform (transform_head);
transform_head = next;
}
transform_tail = NULL;
}

Return to:

Send suggestions and report system problems to the System administrator.