]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-show.c
test: add tests for hooks
[notmuch] / notmuch-show.c
index 603992a612448c8892888580a4fae68f5aa123dc..873a7c4c15f97edf037ee3a3b0fff782713ded5d 100644 (file)
@@ -255,7 +255,9 @@ _extract_email_address (const void *ctx, const char *from)
     email = talloc_strdup (ctx, email);
 
   DONE:
-    /* XXX: How to free addresses here? */
+    if (addresses)
+       g_object_unref (addresses);
+
     return email;
    }