(main): Bugfix. Lists were not initialized.
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -215,7 +215,7 @@ main (int argc, char **argv) | ... | @@ -215,7 +215,7 @@ main (int argc, char **argv) |
215 | int i; | 215 | int i; |
216 | for (i = 0; i < argc; i++) | 216 | for (i = 0; i < argc; i++) |
217 | { | 217 | { |
218 | list_t al; | 218 | list_t al = NULL; |
219 | 219 | ||
220 | if (mh_alias_get (argv[i], &al) == 0) | 220 | if (mh_alias_get (argv[i], &al) == 0) |
221 | { | 221 | { |
... | @@ -239,7 +239,7 @@ main (int argc, char **argv) | ... | @@ -239,7 +239,7 @@ main (int argc, char **argv) |
239 | int i; | 239 | int i; |
240 | for (i = 0; i < argc; i++) | 240 | for (i = 0; i < argc; i++) |
241 | { | 241 | { |
242 | list_t nl; | 242 | list_t nl = NULL; |
243 | 243 | ||
244 | if (mh_alias_get_alias (argv[i], &nl) == 0) | 244 | if (mh_alias_get_alias (argv[i], &nl) == 0) |
245 | { | 245 | { | ... | ... |
-
Please register or sign in to post a comment