diff options
-rw-r--r-- | uid_db.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -458,6 +458,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 NULL; + /* Free the list of uid_db_records starting with the record pointed to by rec. |