sync with tizen_2.2
[sdk/emulator/qemu.git] / readline.c
index a6c0039..540cd8a 100644 (file)
@@ -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 */