commit 14118581d8473c14829cb01578400a4dd4c3babf from: Stefan Sperling date: Mon Nov 05 22:20:43 2018 UTC no need to zero got_delta during allocation commit - e6ace2b90ee6111deb92527646ea83c429136464 commit + 14118581d8473c14829cb01578400a4dd4c3babf blob - b04d85e7cafcd94adcbd9229afe2690687d57763 blob + 1893ac395efc26967299e737c552d73fe606efc2 --- 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;