]> diplodocus.org Git - nmh/blobdiff - uip/replsbr.c
Added support for "-" to indicate stdout to output_message().
[nmh] / uip / replsbr.c
index 087cbebedbe00d600aa13afcd9bbf5b61db669d8..25049af17d19e7b2dc2697fb980160302fc47b81 100644 (file)
@@ -172,12 +172,12 @@ replout (FILE *inb, char *msg, char *drft, struct msgs *mp, int outputlinelen,
                adios (NULL, "m_getfld() returned %d", state);
        }
     }
-    m_getfld_state_destroy (&gstate);
 
     /*
      * format and output the header lines.
      */
 finished:
+    m_getfld_state_destroy (&gstate);
 
     /*
      * if there's a "Subject" component, strip any "Re:"s off it