]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-reply.c
gmime-cleanup: remove obsolete gpg_path configuration option and crypto contexts
[notmuch] / notmuch-reply.c
index d87ec06d83f4989a8d6563fe141fd025c656b4c4..974df401a5e59af5487dd5ff205160f757a7ccf4 100644 (file)
@@ -325,12 +325,6 @@ add_recipients_from_message (GMimeMessage *reply,
                             GMimeMessage *message,
                             bool reply_all)
 {
-
-    /* There is a memory leak here with gmime-2.6 because get_sender
-     * returns a newly allocated list, while the others return
-     * references to libgmime owned data. This leak will be fixed with
-     * the transition to gmime-3.0.
-     */
     struct {
        InternetAddressList * (*get_header)(GMimeMessage *message);
        GMimeRecipientType recipient_type;
@@ -754,10 +748,6 @@ notmuch_reply_command (notmuch_config_t *config, int argc, char *argv[])
        return EXIT_FAILURE;
     }
 
-#if (GMIME_MAJOR_VERSION < 3)
-    params.crypto.gpgpath = notmuch_config_get_crypto_gpg_path (config);
-#endif
-
     if (notmuch_database_open (notmuch_config_get_database_path (config),
                               NOTMUCH_DATABASE_MODE_READ_ONLY, &notmuch))
        return EXIT_FAILURE;