Message ID | 1339780205-3447-5-git-send-email-lcapitulino@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/readline.c b/readline.c index a6c0039..540cd8a 100644 --- a/readline.c +++ b/readline.c @@ -337,6 +337,9 @@ static void readline_completion(ReadLineState *rs) } readline_show_prompt(rs); } + for (i = 0; i < rs->nb_completions; i++) { + g_free(rs->completions[i]); + } } /* return true if command handled */