[6.0] 5c668420a Use SML_AllocBuf also for -sfile
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Wed Oct 18 09:21:07 UTC 2023
commit 5c668420ad30ea86a42aa2bd464e3b7774902fb0
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 c2cb479ff..73177e14d 100644
--- a/bin/varnishd/storage/storage_file.c
+++ b/bin/varnishd/storage/storage_file.c
@@ -496,6 +496,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