]> git.droids-corp.org - protos/libecoli.git/blobdiff - lib/main-readline.c
free children in free_priv
[protos/libecoli.git] / lib / main-readline.c
index 91a1e6e3fa3025e46c46b8d1653db918cd658185..2c81c53c0f69e76d413910bdc1ede305077844cd 100644 (file)
@@ -136,11 +136,11 @@ static char *get_node_help(const struct ec_comp_item *item)
 
 static int show_help(int ignore, int invoking_key)
 {
-       struct ec_comp_iter *iter;
+       struct ec_comp_iter *iter = NULL;
        const struct ec_comp_group *grp, *prev_grp = NULL;
        const struct ec_comp_item *item;
-       struct ec_comp *c;
-       struct ec_parse *p;
+       struct ec_comp *c = NULL;
+       struct ec_parse *p = NULL;
        char *line = NULL;
        unsigned int count;
        char **helps = NULL;