Commit bd3b2dc2 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Assert that we always have a transient storage.

parent fcfc338d
...@@ -225,5 +225,6 @@ STV_Config_Transient(void) ...@@ -225,5 +225,6 @@ STV_Config_Transient(void)
VCLS_AddFunc(mgt_cls, MCF_AUTH, cli_stv); VCLS_AddFunc(mgt_cls, MCF_AUTH, cli_stv);
if (stv_transient == NULL) if (stv_transient == NULL)
STV_Config(TRANSIENT_STORAGE "=malloc"); STV_Config(TRANSIENT_STORAGE "=malloc");
AN(stv_transient);
VTAILQ_INSERT_TAIL(&stevedores, stv_transient, list); VTAILQ_INSERT_TAIL(&stevedores, stv_transient, list);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment