[master] e10b61da0 Use SML_AllocBuf also for -sfile

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Aug 30 08:31:07 UTC 2021


commit e10b61da0d3eb314e8f643bed68af86da58933e5
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Tue Jun 22 11:49:03 2021 +0200

    Use SML_AllocBuf also for -sfile

diff --git a/bin/varnishd/storage/storage_file.c b/bin/varnishd/storage/storage_file.c
index 3c61a61c5..ba7009078 100644
--- a/bin/varnishd/storage/storage_file.c
+++ b/bin/varnishd/storage/storage_file.c
@@ -501,6 +501,8 @@ const struct stevedore smf_stevedore = {
 	.allocobj	=	SML_allocobj,
 	.panic		=	SML_panic,
 	.methods	=	&SML_methods,
+	.allocbuf	=	SML_AllocBuf,
+	.freebuf	=	SML_FreeBuf,
 };
 
 #ifdef INCLUDE_TEST_DRIVER


More information about the varnish-commit mailing list