Commit Diff
--- lib/delta.c +++ lib/delta.c @@ -41,7 +41,7 @@ got_delta_open(off_t offset, size_t tslen, int type, s { struct got_delta *delta; - delta = calloc(1, sizeof(*delta)); + delta = malloc(sizeof(*delta)); if (delta == NULL) return NULL;
--- lib/delta.c +++ lib/delta.c @@ -41,7 +41,7 @@ got_delta_open(off_t offset, size_t tslen, int type, s { struct got_delta *delta; - delta = calloc(1, sizeof(*delta)); + delta = malloc(sizeof(*delta)); if (delta == NULL) return NULL;