]> diplodocus.org Git - nmh/blobdiff - uip/replsbr.c
seq_setunseen.c: Flip if-condition so return moves from else block.
[nmh] / uip / replsbr.c
index d3ba2709698c622a718a98dde7a4d414456779cd..61e76a9b140ff8fe99ab534260a278991bcbfd87 100644 (file)
@@ -205,7 +205,7 @@ finished:
     dat[2] = 0;
     dat[3] = outputlinelen;
     dat[4] = 0;
-    memset(&cb, 0, sizeof(cb));
+    ZERO(&cb);
     cb.formataddr = replformataddr;
     cb.concataddr = replconcataddr;
     fmt_scan (fmt, scanl, i, dat, &cb);
@@ -476,6 +476,7 @@ replfilter (FILE *in, FILE *out, char *filter, int fmtproc)
            if (pidXwait (pid, mhl))
                done (1);
            fseek (out, 0L, SEEK_END);
+            arglist_free(mhl, arglist);
            break;
     }
 }