summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a2d0866)
We're seeing a problem where ifconf->ignore isn't initialised; use
talloc_zero instead.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
struct interface_config *ifconf;
char *tok, *saveptr;
struct interface_config *ifconf;
char *tok, *saveptr;
- ifconf = talloc(config, struct interface_config);
+ ifconf = talloc_zero(config, struct interface_config);
if (!confstr || !strlen(confstr))
goto out_err;
if (!confstr || !strlen(confstr))
goto out_err;