[master] 7ee86fbbb Polish
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Wed Apr 3 14:33:08 UTC 2019
commit 7ee86fbbb9edd5a6fbe4b989488e1ce3d0c16108
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Wed Apr 3 14:44:09 2019 +0200
Polish
diff --git a/bin/varnishd/storage/storage_simple.c b/bin/varnishd/storage/storage_simple.c
index 0606f997e..83e8d713c 100644
--- a/bin/varnishd/storage/storage_simple.c
+++ b/bin/varnishd/storage/storage_simple.c
@@ -497,8 +497,7 @@ sml_bocdone(struct worker *wrk, struct objcore *oc, struct boc *boc)
if (boc->stevedore_priv != NULL) {
/* Free any leftovers from Trim */
CAST_OBJ_NOTNULL(st, boc->stevedore_priv, STORAGE_MAGIC);
- boc->stevedore_priv = 0;
- CHECK_OBJ_NOTNULL(st, STORAGE_MAGIC);
+ boc->stevedore_priv = NULL;
sml_stv_free(stv, st);
}
More information about the varnish-commit
mailing list