diff options
-rw-r--r-- | sys/netipsec/key.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c index fa798c4..f875c39 100644 --- a/sys/netipsec/key.c +++ b/sys/netipsec/key.c @@ -3486,6 +3486,7 @@ key_setdumpsa(struct secasvar *sav, u_int8_t type, u_int8_t satype, } m_cat(result, tres); + tres = NULL; if (result->m_len < sizeof(struct sadb_msg)) { result = m_pullup(result, sizeof(struct sadb_msg)); if (result == NULL) |