Skip to content

Commit

Permalink
Fix null pointer in free call. (#362)
Browse files Browse the repository at this point in the history
Not need call free if pointer is null.
  • Loading branch information
raniervf authored Apr 30, 2020
1 parent 6c8a897 commit ae072d8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/low-level/imap/xgmlabels.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ struct mailimap_msg_att_xgmlabels * mailimap_msg_att_xgmlabels_new_empty(void)
att = mailimap_msg_att_xgmlabels_new(list);
if (att == NULL) {
clist_free(list);
free(att);
return NULL;
}

Expand Down

0 comments on commit ae072d8

Please sign in to comment.