- g_free(msginfo->extradata->returnreceiptto);
- g_free(msginfo->extradata->dispositionnotificationto);
- g_free(msginfo->extradata->list_post);
- g_free(msginfo->extradata->list_subscribe);
- g_free(msginfo->extradata->list_unsubscribe);
- g_free(msginfo->extradata->list_help);
- g_free(msginfo->extradata->list_archive);
- g_free(msginfo->extradata->list_owner);
- g_free(msginfo->extradata->partial_recv);
- g_free(msginfo->extradata->account_server);
- g_free(msginfo->extradata->account_login);
- g_free(msginfo->extradata->resent_from);
- g_free(msginfo->extradata);
+ FREENULL(msginfo->extradata->returnreceiptto);
+ FREENULL(msginfo->extradata->dispositionnotificationto);
+ FREENULL(msginfo->extradata->list_post);
+ FREENULL(msginfo->extradata->list_subscribe);
+ FREENULL(msginfo->extradata->list_unsubscribe);
+ FREENULL(msginfo->extradata->list_help);
+ FREENULL(msginfo->extradata->list_archive);
+ FREENULL(msginfo->extradata->list_owner);
+ FREENULL(msginfo->extradata->partial_recv);
+ FREENULL(msginfo->extradata->account_server);
+ FREENULL(msginfo->extradata->account_login);
+ FREENULL(msginfo->extradata->resent_from);
+ FREENULL(msginfo->extradata);