X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=http.c;h=ed59b79709b11dc6f6d85e86d75a1a8883799f21;hb=6331adb9c4ec36c70dc3ecc6eb46b7dddb36952d;hp=a97fdf51173cf73d883c024d85109cbd4e607db9;hpb=2ba3d5d9bd47c42400049e81d0e1e94948112277;p=git.git diff --git a/http.c b/http.c index a97fdf511..ed59b7970 100644 --- a/http.c +++ b/http.c @@ -411,7 +411,7 @@ static struct fill_chain *fill_cfg = NULL; void add_fill_function(void *data, int (*fill)(void *)) { - struct fill_chain *new = malloc(sizeof(*new)); + struct fill_chain *new = xmalloc(sizeof(*new)); struct fill_chain **linkp = &fill_cfg; new->data = data; new->fill = fill;