use my usual API's for allocation/deallocation right now.
[apps/madmutt.git] / copy.c
diff --git a/copy.c b/copy.c
index 565fcb0..66d30b8 100644 (file)
--- a/copy.c
+++ b/copy.c
@@ -940,7 +940,7 @@ static int address_header_decode (char **h)
 
   format_address_header (h, a);
 
-  rfc822_free_address (&a);
+  address_delete (&a);
 
   p_delete(&s);
   return 1;