Remove some of the assertions in mem.c; we're checking they're true
anyway and we can sometimes hit them legitimately.
void free_packet_list(struct openpgp_packet_list *packet_list) {
struct openpgp_packet_list *nextpacket = NULL;
void free_packet_list(struct openpgp_packet_list *packet_list) {
struct openpgp_packet_list *nextpacket = NULL;
- log_assert(packet_list != NULL);
-
while (packet_list != NULL) {
nextpacket = packet_list->next;
if (packet_list->packet != NULL) {
while (packet_list != NULL) {
nextpacket = packet_list->next;
if (packet_list->packet != NULL) {
struct openpgp_signedpacket_list *signedpacket_list) {
struct openpgp_signedpacket_list *nextpacket = NULL;
struct openpgp_signedpacket_list *signedpacket_list) {
struct openpgp_signedpacket_list *nextpacket = NULL;
- log_assert(signedpacket_list != NULL);
-
while (signedpacket_list != NULL) {
nextpacket = signedpacket_list->next;
if (signedpacket_list->packet != NULL) {
while (signedpacket_list != NULL) {
nextpacket = signedpacket_list->next;
if (signedpacket_list->packet != NULL) {
void free_publickey(struct openpgp_publickey *key) {
struct openpgp_publickey *nextkey = NULL;
void free_publickey(struct openpgp_publickey *key) {
struct openpgp_publickey *nextkey = NULL;
- log_assert(key != NULL);
-
while (key != NULL) {
nextkey = key->next;
if (key->publickey != NULL) {
while (key != NULL) {
nextkey = key->next;
if (key->publickey != NULL) {