use safe_memset() when overwritting the group configuration

This commit is contained in:
Nikos Mavrogiannopoulos
2014-05-15 10:46:53 +02:00
parent 231316f624
commit a2ea033f50

View File

@@ -241,5 +241,5 @@ unsigned i;
talloc_free(config->ipv6_network);
talloc_free(config->ipv4_netmask);
talloc_free(config->ipv6_netmask);
memset(config, 0, sizeof(*config));
safe_memset(config, 0, sizeof(*config));
}