No need for safe_memset() of the cookie hash.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-05-28 10:34:26 +02:00
parent e5c60a7a44
commit 9eb68a381a

View File

@@ -180,7 +180,6 @@ struct htable_iter iter;
e->proc->cookie_ptr = NULL;
e->proc = NULL;
safe_memset(e->cookie_hash, 0, sizeof(e->cookie_hash));
talloc_free(e);
e = htable_next(db->db, &iter);
@@ -210,7 +209,6 @@ time_t now = time(0);
htable_delval(db->db, &iter);
db->total--;
safe_memset(e->cookie_hash, 0, sizeof(e->cookie_hash));
talloc_free(e);
cont:
e = htable_next(db->db, &iter);