X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=interactive.c;h=98882ce6d772c162be24ea481daf8f847eb34d5c;hb=f484411f1a48386975f55d1273750ca3c926aa9a;hp=ee4878fb918218c4ce53b6c227132b4b45afd203;hpb=26a032fffa6c6e6f092ed3d14c2b5f08e5c736d6;p=paraslash.git diff --git a/interactive.c b/interactive.c index ee4878fb..98882ce6 100644 --- a/interactive.c +++ b/interactive.c @@ -656,8 +656,8 @@ int i9e_extract_completions(const char *word, char **string_list, match_count++; if (match_count >= matches_len) { matches_len *= 2; - matches = para_realloc(matches, - matches_len * sizeof(char *)); + matches = arr_realloc(matches, matches_len, + sizeof(char *)); } matches[match_count - 1] = para_strdup(*p); }