]> git.marmaro.de Git - mmh/blobdiff - sbr/readconfig.c
Replace free() with mh_free0()
[mmh] / sbr / readconfig.c
index c99b7cd1bce4414d0b610f8f162c382972c4adcc..ec97e1e2f0e864f94358d867046be50db1fc57e8 100644 (file)
@@ -64,7 +64,7 @@ readconfig(struct node **npp, FILE *ib, char *file, int ctx)
                                        cp = add(field, cp);
                                }
                                np->n_field = trimcpy(cp);
-                               free(cp);
+                               mh_free0(&cp);
                        } else {
                                np->n_field = trimcpy(field);
                        }