- Only appears in error cases, e.g. syntax check (cherry picked from commit e88af0a02de79fac583c126f08d762f7ef3f1b01)
@@ -112,7 +112,8 @@ static int mod_init(void)
static void destroy(void)
{
- shm_free(ob_key.s);
+ if (ob_key.s)
+ shm_free(ob_key.s);
}
/* Structure of flow-token