]> Pileus Git - ~andy/fetchmail/blobdiff - uid_db.c
Attempt merging from 6.3.24.
[~andy/fetchmail] / uid_db.c
index eed249afa708cde9617a50088a809332d829cdb4..14a081d8299b1262657bb6063942f9dab0e354eb 100644 (file)
--- a/uid_db.c
+++ b/uid_db.c
@@ -460,6 +460,8 @@ struct uid_db_record *last_uid_in_db(struct uid_db *db, char const *id)
 /**  destruction */
 static void free_uid_list(struct uid_db_record *rec)
 {
+    if (!rec) return;
+
     /*
       Free the list of uid_db_records starting with
       the record pointed to by rec.